From e40e0171938dfe33c7069f2ca5c199a294bcd586 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 16 Sep 2022 00:32:56 +0200 Subject: Show eliminated units off to the side of the Qattara depression. --- rules.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rules.js') 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) } -- cgit v1.2.3