summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-14 13:38:43 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-14 13:38:43 +0200
commit8298fed69a64c4b82cb9bb969436105ab249f27b (patch)
tree1e6ac2585d8894669adeeb4fe64b1b927d409bd4 /rules.js
parent66133347285c333cb7bddc7cfe47aa3de2ed53a9 (diff)
downloadalgeria-8298fed69a64c4b82cb9bb969436105ab249f27b.tar.gz
React Gov units go to OC if all FLN units evade and there isn't actually any combat
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 4d82311..31ac783 100644
--- a/rules.js
+++ b/rules.js
@@ -3384,6 +3384,11 @@ states.gov_react = {
}
goto_combat()
} else {
+ // React Gov units go to OC if all FLN units evade and there isn't actually any combat
+ for (let u of list) {
+ if (is_mobile_unit(u))
+ set_unit_box(u, OC)
+ }
end_gov_mission()
}
}