summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-01 18:25:23 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-01 18:25:23 +0100
commit18339264b743b56475d7b634c9657ed33ac3a4d2 (patch)
tree77cd7213cd6857de2e1e4a40ec6871af437871f2
parent3355552cf7fbd044afb6f4832b255cb77bb2946d (diff)
downloadalgeria-18339264b743b56475d7b634c9657ed33ac3a4d2.tar.gz
reducing a neutralized FLN Front to Cadre: the Cadre should still be neutralized
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 54e8aab..7d949ed 100644
--- a/rules.js
+++ b/rules.js
@@ -3042,6 +3042,8 @@ function reduce_unit(u, type) {
}
set_unit_loc(n, loc)
set_unit_box(n, box)
+ if (is_unit_neutralized(u))
+ set_unit_neutralized(n)
free_unit(u)
return n
}