This commit is contained in:
bgoulard 2026-01-09 11:42:01 +01:00 committed by Nigel
parent e93790445f
commit fc9e10f286

View file

@ -196,7 +196,6 @@ class StateI {
player.socket.emit('gameEnd', winner);
}
chat_text += (this.fastify.db.getUser(game.userRight)?.name ?? game.userRight);
this.fastify.log.info('chat_text:'+ chat_text);
const rOutcome = game.checkWinner();
let outcome: PongGameOutcome = 'other';
if (rOutcome === 'left') { outcome = 'winL'; }