bugfix: didn't call isTraitor so NPCs treated everyone as traitor

This commit is contained in:
evanpelle
2024-12-31 10:26:43 -08:00
parent 0553a56c06
commit b7af94ec47
+1 -1
View File
@@ -141,7 +141,7 @@ export class FakeHumanExecution implements Execution {
}
shouldDiscourageAttack(other: Player) {
if (other.isTraitor) {
if (other.isTraitor()) {
return false
}
const difficulty = this.mg.config().gameConfig().difficulty