Skip to content

Commit

Permalink
FUCK
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Sep 8, 2024
1 parent f8f7ddf commit ce3dbba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/mob/living/carbon/human/ai/human_ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ GLOBAL_LIST_EMPTY(ai_humans)
//INVOKE_ASYNC(src)

/mob/living/carbon/human/Destroy(force)
if(ai_brain)
GLOB.ai_humans -= src
else
GLOB.non_ai_humans -= src
QDEL_NULL(ai_brain)
return ..()

Expand Down

0 comments on commit ce3dbba

Please sign in to comment.