From bcc9c38cfe3dd56e9a190610dc96be50b7eb5aaa Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 25 Jun 2022 00:54:23 +0200 Subject: Make sure attacker's deployed militia count as attacking pieces. --- rules.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.js b/rules.js index 0512968..9b13ffd 100644 --- a/rules.js +++ b/rules.js @@ -4261,6 +4261,8 @@ states.militia_in_battle = { piece(p) { push_undo() move_piece_to(p, game.battle.where) + if (game.active === game.battle.attacker) + game.battle.atk_pcs.push(p) if (game.summary) game.summary.deploy.push(p) else -- cgit v1.2.3