From 85bbfc60199996baaff0132f6d0b51ebc1e5adf8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 26 Feb 2023 12:09:40 +0100 Subject: Delete cached game info in join_clients when game is deleted. --- server.js | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3