From: godisdeadLOL <169250097+godisdeadLOL@users.noreply.github.com> Date: Fri, 6 Sep 2024 23:30:24 +0000 (+0300) Subject: Force stop pulling when fall asleep (#31893) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=44cf3268c1283756d4dbcc13361e053325412ca1;p=space-station-14.git Force stop pulling when fall asleep (#31893) * break pull at sleep * TryStopPull without user --------- Co-authored-by: YourUsername --- diff --git a/Content.Shared/Movement/Pulling/Systems/PullingSystem.cs b/Content.Shared/Movement/Pulling/Systems/PullingSystem.cs index dd8722607c..5f35adb333 100644 --- a/Content.Shared/Movement/Pulling/Systems/PullingSystem.cs +++ b/Content.Shared/Movement/Pulling/Systems/PullingSystem.cs @@ -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); } }