feat(ttt/database): prefixed TTT database thingy to avoid pong conflicts
This commit is contained in:
parent
d222dfd332
commit
d59e8f93c8
3 changed files with 12 additions and 25 deletions
|
|
@ -98,7 +98,7 @@ export class StateI {
|
|||
this.gameUpdate(gameId, u2.socket);
|
||||
if (g.checkState() !== 'ongoing') {
|
||||
this.cleanupGame(gameId, g);
|
||||
this.fastify.db.setGameOutcome(gameId, u1.userId, u2.userId, g.checkState());
|
||||
this.fastify.db.setTTTGameOutcome(gameId, u1.userId, u2.userId, g.checkState());
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue