From 52b0899094c4c419499791307b4410c215d0c6d6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 2 May 2023 15:15:45 +0200 Subject: Remove per-piece undo for removing all pieces from a city. --- events.txt | 2 +- rules.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/events.txt b/events.txt index afdabdb..758a1d8 100644 --- a/events.txt +++ b/events.txt @@ -1029,7 +1029,7 @@ EVENT 61 prompt "Remove all Cartels pieces from 1 City." space 1 is_city(s) && has_cartels_piece(s) prompt "Remove all Cartels pieces." - piece_undo all is_piece_in_event_space(p) && is_cartels_piece(p) + piece all is_piece_in_event_space(p) && is_cartels_piece(p) remove endpiece endspace diff --git a/rules.js b/rules.js index 6b7e631..d81b874 100644 --- a/rules.js +++ b/rules.js @@ -9626,7 +9626,7 @@ CODE[61 * 2 + 0] = [ [ vm_prompt, "Remove all Cartels pieces from 1 City." ], [ vm_space, true, 1, 1, (s)=>is_city(s) && has_cartels_piece(s) ], [ vm_prompt, "Remove all Cartels pieces." ], - [ vm_piece, true, 999, 999, (p,s)=>is_piece_in_event_space(p) && is_cartels_piece(p) ], + [ vm_piece, false, 999, 999, (p,s)=>is_piece_in_event_space(p) && is_cartels_piece(p) ], [ vm_remove ], [ vm_endpiece ], [ vm_endspace ], -- cgit v1.2.3