summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-02-03 19:08:19 +0100
committerTor Andersson <tor@ccxvii.net>2024-02-03 19:10:02 +0100
commit9fc7a4ba2f4da39bfe1df6f88c4b42578f0c53cf (patch)
tree02643587c38a6e79cd5fb5132c329cb41fc9287f /rules.js
parent0b979b1575eab57bfe5f26b1dd34e48004221f58 (diff)
downloadhammer-of-the-scots-9fc7a4ba2f4da39bfe1df6f88c4b42578f0c53cf.tar.gz
Lords who defect from pillage should be attackers.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 656fe0c..716c1fd 100644
--- a/rules.js
+++ b/rules.js
@@ -1380,7 +1380,7 @@ function end_pillage(where) {
game.where = NOWHERE
delete game.pillage
if (is_contested_area(where)) {
- set_attacker(where, ENEMY[game.active])
+ set_attacker(where, game.active)
start_battle(where, 'pillage')
} else {
end_player_turn()