summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.js b/server.js
index 3151e53..f0a4d8c 100644
--- a/server.js
+++ b/server.js
@@ -1440,6 +1440,7 @@ function update_join_clients_deleted(game_id) {
res.write("data: The game doesn't exist.\n\n")
}
}
+ delete join_clients[game_id]
}
function update_join_clients_game(game_id) {