From e0bf81f479cf792ac3a35bfa27ab63c5342e49ad Mon Sep 17 00:00:00 2001 From: kevinz000 Date: Thu, 19 Oct 2017 23:41:48 -0700 Subject: [PATCH] Fixes simple mob flying corpses (#31794) * makes simple mobs stop flying when they die * Update simple_animal.dm --- code/modules/mob/living/simple_animal/simple_animal.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/simple_animal/simple_animal.dm b/code/modules/mob/living/simple_animal/simple_animal.dm index c578c29288b..90e85428bd8 100644 --- a/code/modules/mob/living/simple_animal/simple_animal.dm +++ b/code/modules/mob/living/simple_animal/simple_animal.dm @@ -280,6 +280,7 @@ return 1 /mob/living/simple_animal/death(gibbed) + movement_type &= ~FLYING if(nest) nest.spawned_mobs -= src nest = null @@ -335,6 +336,7 @@ density = initial(density) lying = 0 . = 1 + movement_type = initial(movement_type) /mob/living/simple_animal/proc/make_babies() // <3 <3 <3 if(gender != FEMALE || stat || next_scan_time > world.time || !childtype || !animal_species || !SSticker.IsRoundInProgress())