mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-02 10:48:09 +00:00
Breaking alliance with disconnected player doesn't make you traitor
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user