From ea99c018208bec43c05a81f4f1aa70438927928e Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Sat, 21 Oct 2017 03:46:00 -0500 Subject: [PATCH] [MIRROR] Fixes simple mob flying corpses (#3521) * Fixes simple mob flying corpses (#31794) * makes simple mobs stop flying when they die * Update simple_animal.dm * Fixes simple mob flying corpses --- 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 a9ed6a4120..fffc05ccf9 100644 --- a/code/modules/mob/living/simple_animal/simple_animal.dm +++ b/code/modules/mob/living/simple_animal/simple_animal.dm @@ -285,6 +285,7 @@ return 1 /mob/living/simple_animal/death(gibbed) + movement_type &= ~FLYING if(nest) nest.spawned_mobs -= src nest = null @@ -340,6 +341,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())