fix: game-settings should insert with an empty rivals array.

This commit is contained in:
zkldi
2022-04-21 04:10:57 +01:00
parent b98492e2ee
commit 5ba924cb49
2 changed files with 3 additions and 1 deletions
@@ -46,6 +46,7 @@ export async function CreateGameSettings(userID: integer, game: Game, playtype:
stats: [],
gameSpecific,
},
rivals: [],
});
logger.info(`Created game settings for ${userID} (${game} ${playtype}).`);
@@ -14,6 +14,7 @@
"display2DXTra": false,
"bpiTarget": 0
}
}
},
"rivals": []
}
]