summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js6
1 files 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()) {