From 33b88776cf150f196651c05334563c297a98e0f1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 3 Dec 2024 12:56:10 +0100 Subject: Fix deal validation prompt between Austria/Pragmatic Army movement. --- rules.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rules.js') 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 -- cgit v1.2.3