summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}