eslint
This commit is contained in:
parent
e93790445f
commit
fc9e10f286
1 changed files with 1 additions and 2 deletions
|
|
@ -196,7 +196,6 @@ class StateI {
|
||||||
player.socket.emit('gameEnd', winner);
|
player.socket.emit('gameEnd', winner);
|
||||||
}
|
}
|
||||||
chat_text += (this.fastify.db.getUser(game.userRight)?.name ?? game.userRight);
|
chat_text += (this.fastify.db.getUser(game.userRight)?.name ?? game.userRight);
|
||||||
this.fastify.log.info('chat_text:'+ chat_text);
|
|
||||||
const rOutcome = game.checkWinner();
|
const rOutcome = game.checkWinner();
|
||||||
let outcome: PongGameOutcome = 'other';
|
let outcome: PongGameOutcome = 'other';
|
||||||
if (rOutcome === 'left') { outcome = 'winL'; }
|
if (rOutcome === 'left') { outcome = 'winL'; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue