From a43d64549dd7ad7953de62e1f6b2994f62b77c63 Mon Sep 17 00:00:00 2001 From: aqw42 Date: Fri, 30 May 2025 13:10:01 +0200 Subject: [PATCH] Breaking alliance with disconnected player doesn't make you traitor --- src/core/game/GameImpl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/game/GameImpl.ts b/src/core/game/GameImpl.ts index b54618bca..f4ce9ea10 100644 --- a/src/core/game/GameImpl.ts +++ b/src/core/game/GameImpl.ts @@ -546,7 +546,7 @@ export class GameImpl implements Game { `${breaker} not allied with ${other}, cannot break alliance`, ); } - if (!other.isTraitor()) { + if (!other.isTraitor() && !other.isDisconnected()) { breaker.markTraitor(); }