This commit is contained in:
ChocoTaco 2021-10-08 12:59:06 -04:00
parent 36191d835f
commit 16efddd24f

2
Classic/scripts/projectiles.cs Normal file → Executable file
View file

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