Merge remote-tracking branch 'origin/develop' into feature/multiplayer-game-interface

This commit is contained in:
AfonsoCMSousa committed 2026-01-02 13:34:53 +00:00
commit 5880960c42
5 files changed
+219 -23

No files matched your search

+6 -2
View File
@@ -18,8 +18,12 @@ const getGame = (id) => {
};
const removeGame = (id) => {
activeGames.delete(id);
console.log(`[Game State] Game removed: ${id}`);
const game = activeGames.get(id);
if (game) {
game.stopTimer();
activeGames.delete(id);
console.log(`[Game State] Game removed: ${id}`);
}
};
module.exports = {