diff options
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -976,7 +976,7 @@ function has_friendly_units_in_battle() { function count_normal_steps_in_battle() { let steps = [ 0, 0, 0, 0 ] - for_each_undisrupted_enemy_unit_in_hex(game.battle, u => { + for_each_undisrupted_friendly_unit_in_hex(game.battle, u => { if (!is_elite_unit(u)) if (!is_unit_retreating(u)) steps[unit_class[u]] += unit_steps(u) @@ -986,7 +986,7 @@ function count_normal_steps_in_battle() { function count_elite_steps_in_battle() { let steps = [ 0, 0, 0, 0 ] - for_each_undisrupted_enemy_unit_in_hex(game.battle, u => { + for_each_undisrupted_friendly_unit_in_hex(game.battle, u => { if (is_elite_unit(u)) if (!is_unit_retreating(u)) steps[unit_class[u]] += unit_steps(u) |