summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index a6a64a8..b486834 100644
--- a/rules.js
+++ b/rules.js
@@ -6791,7 +6791,11 @@ states.validate_movement = {
dont_snap: true,
inactive: "confirm that promises were kept",
prompt() {
- let other = current_sequence_of_play().power
+ let other = game.restart.power
+ if (other === P_PRAGMATIC && game.power === P_PRAGMATIC)
+ other = P_AUSTRIA
+ else if (other === P_AUSTRIA && game.power === P_AUSTRIA)
+ other = P_PRAGMATIC
prompt("Did " + power_name[other] + " keep their movement promise?")
view.actions.keep = 1
view.actions.break = 1