Add filetype to the config.
This commit is contained in:
parent
4195159003
commit
cc10c145b5
2 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ export function processExit() {
|
|||
if (activeGame(game)) {
|
||||
game.log.debug(`Saving to datastore`);
|
||||
writeFileSync(
|
||||
`${conf.datastores.directory}/${game.id}.game`,
|
||||
`${conf.datastores.directory}/${game.id}.${conf.datastores.filetype}`,
|
||||
JSON.stringify(game.toJSON())
|
||||
);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue