diff --git a/code/modules/mob/living/simple_animal/hostile/hostile.dm b/code/modules/mob/living/simple_animal/hostile/hostile.dm index 077564c8e3f..b3b080ca3c0 100644 --- a/code/modules/mob/living/simple_animal/hostile/hostile.dm +++ b/code/modules/mob/living/simple_animal/hostile/hostile.dm @@ -608,7 +608,7 @@ //These two procs handle losing our target if we've failed to attack them for //more than lose_patience_timeout deciseconds, which probably means we're stuck /mob/living/simple_animal/hostile/proc/GainPatience() - if(QDELING(src)) + if(QDELETED(src)) return if(lose_patience_timeout) LosePatience()