]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Force stop pulling when fall asleep (#31893)
authorgodisdeadLOL <169250097+godisdeadLOL@users.noreply.github.com>
Fri, 6 Sep 2024 23:30:24 +0000 (02:30 +0300)
committerGitHub <noreply@github.com>
Fri, 6 Sep 2024 23:30:24 +0000 (17:30 -0600)
* break pull at sleep

* TryStopPull without user

---------

Co-authored-by: YourUsername <you@example.com>
Content.Shared/Movement/Pulling/Systems/PullingSystem.cs

index dd8722607cd7840a3168f2beee840bc4d08d2854..5f35adb33374493dc0b71680568847d50d77eaff 100644 (file)
@@ -188,7 +188,7 @@ public sealed class PullingSystem : EntitySystem
 
         if (EntityManager.TryGetComponent(args.BlockingEntity, out PullableComponent? comp))
         {
-            TryStopPull(args.BlockingEntity, comp, uid);
+            TryStopPull(args.BlockingEntity, comp);
         }
     }