summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-12-24 13:45:28 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commitf482f25598cb5356c8df32670b78278860da6518 (patch)
treea3fc2d953ecc1b33c842df05c24544e3d93877b5
parent0e768d5441e136064c4a5fa062721dbf4227f2c0 (diff)
downloadnevsky-f482f25598cb5356c8df32670b78278860da6518.tar.gz
Fix transition between capability discard and plan.
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index d4420ab..09a6f29 100644
--- a/rules.js
+++ b/rules.js
@@ -2877,9 +2877,9 @@ states.capability_discard = {
function end_capability_discard() {
set_active_enemy()
if (game.active === P2)
- goto_campaign_plan()
- else
goto_capability_discard()
+ else
+ goto_campaign_plan()
}
// === CAMPAIGN: PLAN ===