From a751986af6a05b0c78c4f884bd6051c49fd02368 Mon Sep 17 00:00:00 2001 From: Scott Anderson <662325+scottanderson@users.noreply.github.com> Date: Mon, 14 Apr 2025 21:14:20 -0400 Subject: [PATCH] AttackImpl --- src/core/game/AttackImpl.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/game/AttackImpl.ts b/src/core/game/AttackImpl.ts index d2f91bff2..4fc492391 100644 --- a/src/core/game/AttackImpl.ts +++ b/src/core/game/AttackImpl.ts @@ -44,12 +44,12 @@ export class AttackImpl implements Attack { if (this._target.isPlayer()) { (this._target as PlayerImpl)._incomingAttacks = ( this._target as PlayerImpl - )._incomingAttacks.filter((a) => a != this); + )._incomingAttacks.filter((a) => a !== this); } (this._attacker as PlayerImpl)._outgoingAttacks = ( this._attacker as PlayerImpl - )._outgoingAttacks.filter((a) => a != this); + )._outgoingAttacks.filter((a) => a !== this); this._isActive = false; }