diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-24 23:51:46 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-24 23:51:54 +0100 |
commit | a399cee53288ca1dac0b203132068418807caac2 (patch) | |
tree | 99467a61df91fbc78d6eca148110fddc47d5f789 /rules.js | |
parent | 830a87ca53a1a6b829dff538e9b610a5a6ac495c (diff) | |
download | maria-a399cee53288ca1dac0b203132068418807caac2.tar.gz |
fix political validation prompt
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |