From 44cf3268c1283756d4dbcc13361e053325412ca1 Mon Sep 17 00:00:00 2001 From: godisdeadLOL <169250097+godisdeadLOL@users.noreply.github.com> Date: Sat, 7 Sep 2024 02:30:24 +0300 Subject: [PATCH] Force stop pulling when fall asleep (#31893) * break pull at sleep * TryStopPull without user --------- Co-authored-by: YourUsername --- Content.Shared/Movement/Pulling/Systems/PullingSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.51.2