From: godisdeadLOL <169250097+godisdeadLOL@users.noreply.github.com> Date: Wed, 4 Sep 2024 16:44:10 +0000 (+0300) Subject: Teleporting while pulling crash fix (#31787) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ac753f14ced1a9e87c4a04cc5cd2e6a042990d7f;p=space-station-14.git Teleporting while pulling crash fix (#31787) teleporting while pulling crash fix Co-authored-by: YourUsername --- diff --git a/Content.Shared/Teleportation/Systems/SharedPortalSystem.cs b/Content.Shared/Teleportation/Systems/SharedPortalSystem.cs index 8d67aec518..091bd8808a 100644 --- a/Content.Shared/Teleportation/Systems/SharedPortalSystem.cs +++ b/Content.Shared/Teleportation/Systems/SharedPortalSystem.cs @@ -101,7 +101,7 @@ public abstract class SharedPortalSystem : EntitySystem if (TryComp(subject, out var pullerComp) && TryComp(pullerComp.Pulling, out var subjectPulling)) { - _pulling.TryStopPull(subject, subjectPulling); + _pulling.TryStopPull(pullerComp.Pulling.Value, subjectPulling); } // if they came from another portal, just return and wait for them to exit the portal