Breaking alliance with disconnected player doesn't make you traitor

This commit is contained in:
aqw42
2025-05-30 13:10:01 +02:00
parent ebf8861a61
commit a43d64549d
+1 -1
View File
@@ -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();
}