From: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> Date: Sun, 25 May 2025 19:09:25 +0000 (-0700) Subject: Mob Spin Fix Update (#37603) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=11d0799e1acc16ed9034c674a51385522d8162c8;p=space-station-14.git Mob Spin Fix Update (#37603) Kid named negative velocity --- 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.