diff --git a/lua/sim/weapons/DefaultProjectileWeapon.lua b/lua/sim/weapons/DefaultProjectileWeapon.lua index 9ba77bdc7f..b916b1df04 100644 --- a/lua/sim/weapons/DefaultProjectileWeapon.lua +++ b/lua/sim/weapons/DefaultProjectileWeapon.lua @@ -411,7 +411,7 @@ DefaultProjectileWeapon = ClassWeapon(Weapon) { ---@param self DefaultProjectileWeapon EconomyDrainThread = function(self) WaitFor(self.EconDrain) - if self.unit.BeenDestroyed and not(self.unit:BeenDestroyed()) then + if self.unit and not(IsDestroyed(self.unit)) then RemoveEconomyEvent(self.unit, self.EconDrain) end self.EconDrain = nil