Prevents simple animals from creating/destroying 1 footstep component per process (#55599)

This commit is contained in:
LemonInTheDark
2020-12-18 12:07:41 +01:00
committed by GitHub
parent 5e88a708ea
commit aea44cd545
@@ -191,6 +191,8 @@
atmos_requirements = string_assoc_list(atmos_requirements)
if(damage_coeff)
damage_coeff = string_assoc_list(damage_coeff)
if(footstep_type)
AddComponent(/datum/component/footstep, footstep_type)
/mob/living/simple_animal/Life()
. = ..()
@@ -246,8 +248,6 @@
else
set_stat(CONSCIOUS)
med_hud_set_status()
if(footstep_type)
AddComponent(/datum/component/footstep, footstep_type)
/mob/living/simple_animal/handle_status_effects()
..()