]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Movement Rewrite Hotfix (#37122)
authorPrincess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Fri, 2 May 2025 18:31:10 +0000 (11:31 -0700)
committerGitHub <noreply@github.com>
Fri, 2 May 2025 18:31:10 +0000 (20:31 +0200)
* One line bugfix

* also divide friction by 5

* Undo that

Content.Shared/Friction/TileFrictionController.cs

index 1ebf2478f9a54fbc0fe5ba85b229cefdaabf9702..cf9241bf2a489dfe2a2095947020397f4b16ee5b 100644 (file)
@@ -111,7 +111,7 @@ namespace Content.Shared.Friction
                 PhysicsSystem.SetAngularDamping(uid, body, friction);
 
                 if (body.BodyType != BodyType.KinematicController)
-                    return;
+                    continue;
 
                 // Physics engine doesn't apply damping to Kinematic Controllers so we have to do it here.
                 // BEWARE YE TRAVELLER: