Fixes simple mob flying corpses (#31794)

* makes simple mobs stop flying when they die

* Update simple_animal.dm
This commit is contained in:
kevinz000
2017-10-20 08:41:48 +02:00
committed by AnturK
parent e7da251e46
commit e0bf81f479
@@ -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())