mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-04 18:52:03 +00:00
fix bot teams
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user