diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-09-16 00:32:56 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:27 +0100 |
commit | e40e0171938dfe33c7069f2ca5c199a294bcd586 (patch) | |
tree | 473bd1b9a1ecb394d1c7679b7416add22bd5d955 /rules.js | |
parent | ed3fbab5440ea95bf04d10880f178681a379ff5b (diff) | |
download | rommel-in-the-desert-e40e0171938dfe33c7069f2ca5c199a294bcd586.tar.gz |
Show eliminated units off to the side of the Qattara depression.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) } |