AttackImpl

This commit is contained in:
Scott Anderson
2025-04-14 21:14:20 -04:00
parent c7937dc570
commit a751986af6
+2 -2
View File
@@ -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;
}