From b7af94ec47fe61823c18725395062cfd3ffbd52c Mon Sep 17 00:00:00 2001 From: evanpelle Date: Tue, 31 Dec 2024 10:26:43 -0800 Subject: [PATCH] bugfix: didn't call isTraitor so NPCs treated everyone as traitor --- src/core/execution/FakeHumanExecution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/execution/FakeHumanExecution.ts b/src/core/execution/FakeHumanExecution.ts index 518d9417e..105418072 100644 --- a/src/core/execution/FakeHumanExecution.ts +++ b/src/core/execution/FakeHumanExecution.ts @@ -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