diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-20 12:44:35 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:39 +0100 |
commit | f315b4918cfc14eba5ad85dc41dfde1fc255ba49 (patch) | |
tree | 2b6792017610e7242cfae763f665e89819e1a436 /rules.js | |
parent | 51b4f3fa21f47927d8d177e473597d6f9c26f6fe (diff) | |
download | nevsky-f315b4918cfc14eba5ad85dc41dfde1fc255ba49.tar.gz |
Only check Campaign Victory during Campaign phase discard.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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()) { |