mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 00:24:35 +00:00
Elf bug
This commit is contained in:
parent
36191d835f
commit
16efddd24f
1 changed files with 2 additions and 2 deletions
2
Classic/scripts/projectiles.cs
Normal file → Executable file
2
Classic/scripts/projectiles.cs
Normal file → Executable 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")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue