summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 31e5a6c..8d55078 100644
--- a/rules.js
+++ b/rules.js
@@ -132,6 +132,7 @@ const ALLIED_QUEUE = 49
// Free deployment holding box
const DEPLOY = 1
+const ELIMINATED = 2
// Off board optional 1942 Malta reinforcements
const MALTA = 4
@@ -439,6 +440,7 @@ function set_unit_fired(u) {
function eliminate_unit(u) {
invalidate_caches()
game.units[u] = 0
+ set_unit_hex(u, ELIMINATED)
hide_unit(u)
}