From 01109d3b8d6c03b5b0a7608eb3d0db909f90e1df Mon Sep 17 00:00:00 2001 From: Anewbe Date: Fri, 3 Mar 2017 17:38:55 -0600 Subject: [PATCH] Fixes the slowdown bug --- code/modules/mob/living/carbon/human/human_movement.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm index 287401ebb40..fe6381c6db9 100644 --- a/code/modules/mob/living/carbon/human/human_movement.dm +++ b/code/modules/mob/living/carbon/human/human_movement.dm @@ -79,12 +79,13 @@ var/turf/T = get_turf(src) if(T && T.movement_cost) tally += T.movement_cost - + if(CE_SPEEDBOOST in chem_effects) if (tally >= 0) // cut any penalties in half tally = tally/2 tally -= 1 // give 'em a buff on top. - return (tally+config.human_delay) + + return (tally+config.human_delay) /mob/living/carbon/human/Process_Spacemove(var/check_drift = 0) //Can we act?