From 261bdd6b978a78da3fabddfe9fecb514e0274cd4 Mon Sep 17 00:00:00 2001 From: JohnWildkins Date: Tue, 3 Nov 2020 05:52:59 -0500 Subject: [PATCH] Fix movement slowdown value being rounded off (#10445) --- code/modules/mob/living/carbon/human/human_movement.dm | 4 ++-- html/changelogs/johnwildkins-movefix.yml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/johnwildkins-movefix.yml diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm index 09532e8fd4d..ffc585b1392 100644 --- a/code/modules/mob/living/carbon/human/human_movement.dm +++ b/code/modules/mob/living/carbon/human/human_movement.dm @@ -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() \ No newline at end of file + . += H.ClothesSlowdown() diff --git a/html/changelogs/johnwildkins-movefix.yml b/html/changelogs/johnwildkins-movefix.yml new file mode 100644 index 00000000000..0978fba40dc --- /dev/null +++ b/html/changelogs/johnwildkins-movefix.yml @@ -0,0 +1,6 @@ +author: JohnWildkins + +delete-after: True + +changes: + - bugfix: "Some subspecies (Zeng-hu IPC, Tajara subspecies) should now move at their intended speeds."