From 0811b23e00ef32caf03cfdde2fc2c9e49073d7cc Mon Sep 17 00:00:00 2001 From: evan Date: Tue, 6 May 2025 09:52:13 -0700 Subject: [PATCH] teammode: bots can attack each other now to prevent them from ganging up on players --- src/core/game/PlayerImpl.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/game/PlayerImpl.ts b/src/core/game/PlayerImpl.ts index 97aa337f9..af24531d6 100644 --- a/src/core/game/PlayerImpl.ts +++ b/src/core/game/PlayerImpl.ts @@ -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(); }