diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-12-03 12:56:10 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-12-03 12:56:10 +0100 |
commit | 33b88776cf150f196651c05334563c297a98e0f1 (patch) | |
tree | 7d5f848a359c5d9a5e80d49a93fdf272fa062d25 /rules.js | |
parent | 5d80614b1c0bf1d7cf1c0fe42186e5288cf8e389 (diff) | |
download | maria-33b88776cf150f196651c05334563c297a98e0f1.tar.gz |
Fix deal validation prompt between Austria/Pragmatic Army movement.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |