From 4092bbe6ed55bd05c311eb33d07384594461793a Mon Sep 17 00:00:00 2001 From: Troy Nordine Date: Mon, 9 Oct 2023 15:21:23 -0500 Subject: Fixed unit selection in battle. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index dc0198b..89fe243 100644 --- a/rules.js +++ b/rules.js @@ -5573,7 +5573,7 @@ function goto_assign_hits() { for (let pos of game.battle.engagements[0]) { let lord = game.battle.array[pos] if (is_friendly_lord(lord)) { - found = lord + found = pos ++count } } -- cgit v1.2.3