Fix movement slowdown value being rounded off (#10445)

This commit is contained in:
JohnWildkins
2020-11-03 11:52:59 +01:00
committed by GitHub
parent 0fc1345ddd
commit 261bdd6b97
2 changed files with 8 additions and 2 deletions
@@ -95,7 +95,7 @@
if(!isnull(facing_dir) && facing_dir != dir)
tally += 3
tally = round(tally,1)
tally = round(tally, 0.1)
return tally
@@ -187,4 +187,4 @@
var/mob/living/carbon/human/H = pulling
if(H.species.slowdown > species.slowdown)
. += H.species.slowdown - species.slowdown
. += H.ClothesSlowdown()
. += H.ClothesSlowdown()