From 1f5db5241013eb92123c4c94a82d86d1b5d1ded2 Mon Sep 17 00:00:00 2001 From: DigiDuncan Date: Sat, 2 Dec 2023 04:15:22 -0500 Subject: [PATCH] wait oops the laws of physics actually suck --- sizebot/lib/quake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sizebot/lib/quake.py b/sizebot/lib/quake.py index 1a154a27..b7fb87c2 100644 --- a/sizebot/lib/quake.py +++ b/sizebot/lib/quake.py @@ -53,7 +53,7 @@ def mag_to_name(mag: float) -> str: return "universe-ending" def scale_to_joules(user: User, g: float, factor: float) -> Decimal: - return (Decimal(user.weight / 1000) / 2) * Decimal(g) * Decimal(factor) + return (Decimal(user.weight / 1000) / 2) * (Decimal(g) * Decimal(user.scale)) * Decimal(factor) def step_joules(user: User) -> int: return scale_to_joules(user, G, STEP_FACTOR)