Skip to content

Commit

Permalink
bugfix: fixing runtime after killing megafauna (Gain Patience) (ss220…
Browse files Browse the repository at this point in the history
  • Loading branch information
NightDawnFox authored and Etrnlmelancholy committed Jan 3, 2024
1 parent 4c07f62 commit c050ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/simple_animal/hostile/hostile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c050ba2

Please sign in to comment.