summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 515e40e..4e084f9 100644
--- a/rules.js
+++ b/rules.js
@@ -4893,7 +4893,7 @@ states.political_card_done = {
}
function end_execute_political_card() {
- // Ugly hack to restore the political card executor by peeking at the checkpoint state!
+ // icky hack to read power of the card executor
set_active_to_power(game.restart.power)
array_remove_item(game.political, game.pc)
delete game.pc
@@ -6619,7 +6619,7 @@ states.validate_politics = {
dont_snap: true,
inactive: "validate promise",
prompt() {
- let other = current_sequence_of_play().power
+ let other = game.restart.power // icky hack to read power of the card executor
prompt("Did " + power_name[other] + " keep their politics promise?")
view.actions.yes = 1
view.actions.no = 1