mirror of
https://github.com/thib8956/tic-tac-toe-ws.git
synced 2025-01-12 04:41:06 +00:00
fix endgame
This commit is contained in:
parent
a636abddbe
commit
15d9b89577
@ -92,6 +92,7 @@ wss.on("connection", (ws) => {
|
|||||||
kind: "endgame",
|
kind: "endgame",
|
||||||
data: { issue: "lose" } as EndGame
|
data: { issue: "lose" } as EndGame
|
||||||
} as Message));
|
} as Message));
|
||||||
|
endGame = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user