This commit is contained in:
AfonsoCMSousa
2026-01-03 00:51:42 +00:00
parent 23d0ea1343
commit 1088749386
3 changed files with 88 additions and 4 deletions
+2 -1
View File
@@ -248,7 +248,8 @@ export default (io, socket) => {
}
socket.join(`game_${gameId}`);
socket.activeGameId = gameId;
if (game.players[myId]) {
game.players[myId].token = socket.handshake.auth.token;