reverts thing kev said about

This commit is contained in:
Letter N
2020-08-29 14:36:41 +08:00
parent ae482c1bb8
commit fe17bee28e
4 changed files with 30 additions and 25 deletions

View File

@@ -12,10 +12,10 @@
/mob/living/carbon/human/movement_delay()
. = ..()
if(CHECK_MOBILITY(src, MOBILITY_STAND) && m_intent == MOVE_INTENT_RUN && (combat_flags & COMBAT_FLAG_SPRINT_ACTIVE))
var/static/SSI
var/static/datum/config_entry/number/movedelay/sprint_speed_increase/SSI
if(!SSI)
SSI = CONFIG_GET(number/movedelay/sprint_speed_increase)
. -= SSI //but WHY
SSI = CONFIG_GET_ENTRY(number/movedelay/sprint_speed_increase)
. -= SSI.config_entry_value
if (m_intent == MOVE_INTENT_WALK && HAS_TRAIT(src, TRAIT_SPEEDY_STEP))
. -= 1.5