From f315b4918cfc14eba5ad85dc41dfde1fc255ba49 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 20 Jan 2023 12:44:35 +0100 Subject: Only check Campaign Victory during Campaign phase discard. --- rules.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index bce6256..a5383c3 100644 --- a/rules.js +++ b/rules.js @@ -9723,8 +9723,10 @@ function end_ransom_disband() { function end_disband() { clear_undo() - if (check_campaign_victory()) - return + if (is_campaign_phase()) { + if (check_campaign_victory()) + return + } set_active_enemy() if (is_campaign_phase()) { -- cgit v1.2.3