diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-06-25 00:54:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 11:54:52 +0100 |
commit | bcc9c38cfe3dd56e9a190610dc96be50b7eb5aaa (patch) | |
tree | 0069335cd413ec746a4975a48aca459634a3773a /rules.js | |
parent | 88672f4d8764a4eac863c5b4303a70ba8522b94f (diff) | |
download | wilderness-war-bcc9c38cfe3dd56e9a190610dc96be50b7eb5aaa.tar.gz |
Make sure attacker's deployed militia count as attacking pieces.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |