From b3f145de10aab67b468d356c9c0a5727773d7279 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Tue, 22 Sep 2020 16:20:13 -0700 Subject: [PATCH] Update species.dm --- code/modules/mob/living/carbon/human/species.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index fa9df8dd48..5d08780307 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -362,10 +362,11 @@ GLOBAL_LIST_EMPTY(roundstart_race_names) if(H.client && has_field_of_vision && CONFIG_GET(flag/use_field_of_vision)) H.LoadComponent(/datum/component/field_of_vision, H.field_of_vision_type) - C.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/species, TRUE, multiplicative_slowdown = speedmod) - + update_species_slowdown(C) SEND_SIGNAL(C, COMSIG_SPECIES_GAIN, src, old_species) +/datum/species/proc/update_species_slowdown(mob/living/carbon/human/H) + H.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/species, TRUE, multiplicative_slowdown = speedmod) // EDIT ENDS