Skip to content

Commit

Permalink
Attempts to fix runtime with gibbers
Browse files Browse the repository at this point in the history
  • Loading branch information
GremlingSS committed Jul 19, 2023
1 parent 3b7ea80 commit b281937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/living/simple_animal/simple_animal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ GLOBAL_LIST_EMPTY(playmob_cooldowns)
if(deathmessage || !del_on_death)
INVOKE_ASYNC(src, .proc/emote, "deathgasp")
if(del_on_death)
..()
..(gibbed)
//Prevent infinite loops if the mob Destroy() is overridden in such
//a manner as to cause a call to death() again
del_on_death = FALSE
Expand All @@ -705,7 +705,7 @@ GLOBAL_LIST_EMPTY(playmob_cooldowns)
icon_state = icon_dead
density = FALSE
lying = 1
..()
..(gibbed)

/mob/living/simple_animal/drop_all_held_items(skip_worn = FALSE)
if(internal_storage && !skip_worn)
Expand Down

0 comments on commit b281937

Please sign in to comment.