]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Galosh Slowdown Fix (#37628)
authorPrincess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Tue, 20 May 2025 02:47:03 +0000 (19:47 -0700)
committerGitHub <noreply@github.com>
Tue, 20 May 2025 02:47:03 +0000 (22:47 -0400)
Begone Galosh

Content.Shared/Movement/Systems/SpeedModifierContactsSystem.cs

index 9c96a2b7dc2f0324142d348a5488934739f95457..e2dee870191824088be6f797cd66327c0a5a319d 100644 (file)
@@ -113,7 +113,7 @@ public sealed class SpeedModifierContactsSystem : EntitySystem
                 var evSlippery = new GetSlowedOverSlipperyModifierEvent();
                 RaiseLocalEvent(uid, ref evSlippery);
 
-                if (MathHelper.CloseTo(evSlippery.SlowdownModifier, 1))
+                if (!MathHelper.CloseTo(evSlippery.SlowdownModifier, 1))
                 {
                     walkSpeed += evSlippery.SlowdownModifier;
                     sprintSpeed += evSlippery.SlowdownModifier;