teammode: bots can attack each other now to prevent them from ganging up on players

This commit is contained in:
evan
2025-05-06 09:52:13 -07:00
parent 547c820296
commit 0811b23e00
+3
View File
@@ -606,6 +606,9 @@ export class PlayerImpl implements Player {
if (this.team() == null || other.team() == null) {
return false;
}
if (this.team() == Team.Bot || other.team() == Team.Bot) {
return false;
}
return this._team == other.team();
}