Skip to content

Commit

Permalink
Updated patience checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Halonexus committed Dec 17, 2024
1 parent bcfae4b commit 4eb1ecb
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 @@ -112,7 +112,7 @@
return
if(client)
return
if(lose_patience_timeout && patience_last_interaction + lose_patience_timeout < world.time)
if(lose_patience_timeout && !QDELETED(target) && AIStatus == AI_ON && patience_last_interaction + lose_patience_timeout < world.time)
LosePatience()
if(!can_patrol)
return
Expand Down

0 comments on commit 4eb1ecb

Please sign in to comment.