Merge branch 'v26'

This commit is contained in:
evanpelle
2025-11-07 19:54:27 -08:00
14 changed files with 22 additions and 417 deletions
+2 -2
View File
@@ -789,8 +789,8 @@ export class PlayerImpl implements Player {
return this._team === other.team();
}
isFriendly(other: Player, treatAFKFriendly: boolean = false): boolean {
if (other.isDisconnected() && !treatAFKFriendly) {
isFriendly(other: Player): boolean {
if (other.isDisconnected()) {
return false;
}
return this.isOnSameTeam(other) || this.isAlliedWith(other);