mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
parent
d723054860
commit
a18fc33724
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ public sealed class ScramOnTriggerSystem : XOnTriggerSystem<ScramOnTriggerCompon
|
|||
// We need stop the user from being pulled so they don't just get "attached" with whoever is pulling them.
|
||||
// This can for example happen when the user is cuffed and being pulled.
|
||||
if (TryComp<PullableComponent>(target, out var pull) && _pulling.IsPulled(target, pull))
|
||||
_pulling.TryStopPull(ent, pull);
|
||||
_pulling.TryStopPull(target, pull);
|
||||
|
||||
// Check if the user is pulling anything, and drop it if so.
|
||||
if (TryComp<PullerComponent>(target, out var puller) && TryComp<PullableComponent>(puller.Pulling, out var pullable))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue