summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()