From 34fdec45ae436089a4cfda39bc37a5994ad565b8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 2 Jan 2025 11:58:09 +0100 Subject: Fix nested pinging. --- rules.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 551142a..99ae982 100644 --- a/rules.js +++ b/rules.js @@ -8149,7 +8149,8 @@ function goto_game_over(result) { // === PING === function action_ping() { - game.ping = { save_current: game.current, save_state: game.state } + if (!game.ping) + game.ping = { save_current: game.current, save_state: game.state } game.state = "ping" } -- cgit v1.2.3