This commit is contained in:
2025-04-02 14:34:41 +02:00
parent 2c9a14db9a
commit b85d4fffee
2 changed files with 3 additions and 3 deletions

View File

@@ -30,13 +30,12 @@ class GameManager {
});
});
console.log(oldLobbySave)
if(!wasInLobby) return 1;
if(!oldLobbySave.gameCode){
const code = this.generateNonExistingCode();
const game = new Game(this.io, this, code);
this.games.set(code, game);
oldLobbySave.gameCode = code;