From d01adec15a2b90c33b5aecf62af858732910ff51 Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Wed, 2 Apr 2025 13:16:13 -0400 Subject: Fuzzing - summaries open --- rules.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/rules.js b/rules.js index 16e6876..bfd9c0c 100644 --- a/rules.js +++ b/rules.js @@ -4551,8 +4551,10 @@ function vm_log_h2() { } function vm_pop_summary() { - upop_summary() - log_br() + if (game.summary) { + upop_summary() + log_br() + } vm_next() } @@ -4826,7 +4828,8 @@ function end_vm_move_to(s) { if (game.summary && game.summary.length > 0) { log_space(vm_operand(1), "Move") pop_summary() - } + } else if (game.summary) + game.summary = null vm_next() } -- cgit v1.2.3