diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-01-04 13:51:50 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:48 +0100 |
commit | cd04c4c888f64d2d13bc17f722bd896b22acfe5c (patch) | |
tree | 5f9e2fe972848b5212631d7ad3294eb505b6c98f | |
parent | 91da6f9429174b64071faa2d88bb01819ab50e07 (diff) | |
download | table-battles-cd04c4c888f64d2d13bc17f722bd896b22acfe5c.tar.gz |
Fix Rocoux + Austrians can_shift check.
-rw-r--r-- | rules.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2328,6 +2328,13 @@ function can_shift_any_infantry() { if (is_infantry(c)) { if (get_sticks(c) > 1) ++m + + if (game.scenario === S46_ROCOUX) { + // cannot shift to Austrians + if (c === S46_AUSTRIANS) + continue + } + ++n } } |