Update human_movement.dm

This commit is contained in:
kevinz000
2020-01-22 01:00:29 -07:00
committed by GitHub
parent b0b90d4d28
commit 4a40090061
@@ -12,8 +12,11 @@
/mob/living/carbon/human/movement_delay()
. = 0
if(!resting && m_intent == MOVE_INTENT_RUN && !sprinting)
. += 1
if(!resting && m_intent == MOVE_INTENT_RUN && sprinting)
var/static/datum/config_entry/number/movespeed/sprint_speed_increase/SSI
if(!SSI)
SSI = CONFIG_GET_ENTRY(number/movespeed/sprint_speed_increase)
. -= SSI.config_entry_value
if(wrongdirmovedelay)
. += 1
. += ..()