summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index 685c400..6146f6d 100644
--- a/rules.js
+++ b/rules.js
@@ -2519,9 +2519,9 @@ function end_fortress_supply() {
game.assign = 0
if (game.state === 'initial_fortress_supply')
game.state = 'initial_oasis_supply'
- if (game.state === 'final_fortress_supply')
+ else if (game.state === 'final_fortress_supply')
game.state = 'final_oasis_supply'
- if (game.state === 'buildup_fortress_supply')
+ else if (game.state === 'buildup_fortress_supply')
game.state = 'buildup_oasis_supply'
resume_oasis_supply()
}
@@ -2630,9 +2630,9 @@ function resume_oasis_supply() {
function end_oasis_supply() {
if (game.state === 'initial_oasis_supply')
goto_initial_supply_check_recover()
- if (game.state === 'final_oasis_supply')
+ else if (game.state === 'final_oasis_supply')
goto_final_supply_check_disrupt()
- if (game.state === 'buildup_oasis_supply')
+ else if (game.state === 'buildup_oasis_supply')
goto_buildup_supply_check_recover()
}
@@ -5553,7 +5553,7 @@ function resume_buildup_eliminate_unsupplied() {
}
states.buildup_eliminate_unsupplied = {
- inactive: "buildup (unsupplied)",
+ inactive: "buildup",
prompt() {
view.prompt = `Buildup: Eliminate unsupplied units.`
for_each_friendly_unit_on_map(u => {