This commit is contained in:
ChocoTaco 2021-10-08 13:03:04 -04:00
parent 16efddd24f
commit e06f8a8a58

View file

@ -581,9 +581,9 @@ function ELFProjectileData::targetDestroyedCancel(%data, %projectile, %target, %
function ELFProjectile::checkELFStatus(%this, %data, %target, %targeter)
{
%class = %targeter.getClassName();
if(isObject(%target) && isObject(%targeter)) //Added %targeter for niche cases
{
%class = %targeter.getClassName();
if(%target.getDamageState() $= "Destroyed")
{
%data.targetDestroyedCancel(%this, %target, %targeter);