From 10aab982ed82610f9f1112736929e2e07c9f6ad7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 31 Jul 2022 22:44:21 +0200 Subject: Fix removing two 7 command leaders at once. --- rules.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 5ac89f0..0f98c02 100644 --- a/rules.js +++ b/rules.js @@ -6933,9 +6933,10 @@ states.max_two_7_command_leaders_in_play = { piece(p) { push_undo() eliminate_piece(p) - delete game.seven + remove_from_array(game.seven, p) }, next() { + delete game.seven end_action_phase() } } -- cgit v1.2.3