From 11d0799e1acc16ed9034c674a51385522d8162c8 Mon Sep 17 00:00:00 2001 From: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> Date: Sun, 25 May 2025 12:09:25 -0700 Subject: [PATCH] Mob Spin Fix Update (#37603) Kid named negative velocity --- Content.Shared/Movement/Systems/SharedMoverController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Movement/Systems/SharedMoverController.cs b/Content.Shared/Movement/Systems/SharedMoverController.cs index 783902ace4..5b208b27d7 100644 --- a/Content.Shared/Movement/Systems/SharedMoverController.cs +++ b/Content.Shared/Movement/Systems/SharedMoverController.cs @@ -416,7 +416,7 @@ public abstract partial class SharedMoverController : VirtualController public void Friction(float minimumFrictionSpeed, float frameTime, float friction, ref float velocity) { - if (velocity < minimumFrictionSpeed) + if (Math.Abs(velocity) < minimumFrictionSpeed) return; // This equation is lifted from the Physics Island solver. -- 2.51.2