summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
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"
}