Skip to content

Commit

Permalink
Teleporting while pulling crash fix (space-wizards#31787)
Browse files Browse the repository at this point in the history
teleporting while pulling crash fix

Co-authored-by: YourUsername <[email protected]>
  • Loading branch information
godisdeadLOL and YourUsername authored Sep 4, 2024
1 parent 6926a50 commit ac753f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Teleportation/Systems/SharedPortalSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private void OnCollide(EntityUid uid, PortalComponent component, ref StartCollid
if (TryComp<PullerComponent>(subject, out var pullerComp)
&& TryComp<PullableComponent>(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
Expand Down

0 comments on commit ac753f1

Please sign in to comment.