diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-09-27 19:27:34 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:27 +0100 |
commit | 252169b8b3be292daa143752904aa9e23acc6cf0 (patch) | |
tree | 98edc1561ba5b05f891ad0d0e503214da05d1680 | |
parent | d76813a4482aad58a54fa064858cfe256e4f7dc9 (diff) | |
download | rommel-in-the-desert-252169b8b3be292daa143752904aa9e23acc6cf0.tar.gz |
Keep next month's reinforcements hidden to not reveal early arrivals.
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ function is_unit_fired(u) { } function is_unit_revealed(u) { - let reinf = hexmonth + view.month + let reinf = hexmonth + view.month + 1 if (player === AXIS) return is_axis_unit(u) || set_has(view.revealed, u) || unit_hex(u) > reinf else if (player === ALLIED) |