summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-30 10:31:35 +0200
committerTor Andersson <tor@ccxvii.net>2023-09-30 10:31:35 +0200
commit425f59773252262d5d0514d978888b4f92a58025 (patch)
tree1c434ae460ad2f5b491a9a78bc3aa903459258ce
parent9aa6465a425095a0b98899c791e8ca27574e6eb5 (diff)
downloadtime-of-crisis-425f59773252262d5d0514d978888b4f92a58025.tar.gz
Fix bug when killing Barbarian Leaders with Palmyra Allies.
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 055d455..cbc9b3f 100644
--- a/rules.js
+++ b/rules.js
@@ -1050,7 +1050,7 @@ function roll_dice_no_reroll(count, target) {
function eliminate_barbarian(id) {
let tribe = get_barbarian_tribe(id)
- if (is_barbarian_leader(id) && game.combat) {
+ if (is_barbarian_leader(id)) {
if (id === CNIVA) {
log("Cniva killed!")
if (game.combat)