diff --git a/src/core/game/PlayerImpl.ts b/src/core/game/PlayerImpl.ts index baa00fac0..ee651f645 100644 --- a/src/core/game/PlayerImpl.ts +++ b/src/core/game/PlayerImpl.ts @@ -606,7 +606,7 @@ export class PlayerImpl implements Player { if (this.team() == null || other.team() == null) { return false; } - if (this.team() == Team.Bot) { + if (this.team() === "Bot") { return false; } return this._team == other.team();