From 78e3eb14f9a598587180a9206524f492f5de3d32 Mon Sep 17 00:00:00 2001 From: Timothy Teakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Mon, 26 Oct 2020 20:42:22 +0000 Subject: [PATCH] another typo --- code/datums/dna.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/dna.dm b/code/datums/dna.dm index 4e9e21f70e..53b24c45f9 100644 --- a/code/datums/dna.dm +++ b/code/datums/dna.dm @@ -704,7 +704,7 @@ var/penalty_threshold = CONFIG_GET(number/threshold_body_size_penalty) if(features["body_size"] < penalty_threshold && old_size >= penalty_threshold) C.maxHealth -= 10 //reduce the maxhealth - var/slowdown = (1 - round(features["body_size"] / danger, 0.1)) * CONFIG_GET(number/body_size_slowdown_multiplier) + var/slowdown = (1 - round(features["body_size"] / penalty_threshold, 0.1)) * CONFIG_GET(number/body_size_slowdown_multiplier) holder.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/small_stride, TRUE, slowdown) else if(old_size < penalty_threshold && features["body_size"] >= penalty_threshold)