Fix handcuffed players being able to escape pulls (#7534)
This commit is contained in:
@@ -26,7 +26,8 @@ namespace Content.Shared.Cuffs
|
|||||||
SubscribeLocalEvent<SharedCuffableComponent, IsUnequippingAttemptEvent>(OnUnequipAttempt);
|
SubscribeLocalEvent<SharedCuffableComponent, IsUnequippingAttemptEvent>(OnUnequipAttempt);
|
||||||
SubscribeLocalEvent<SharedCuffableComponent, DropAttemptEvent>(OnDropAttempt);
|
SubscribeLocalEvent<SharedCuffableComponent, DropAttemptEvent>(OnDropAttempt);
|
||||||
SubscribeLocalEvent<SharedCuffableComponent, PickupAttemptEvent>(OnPickupAttempt);
|
SubscribeLocalEvent<SharedCuffableComponent, PickupAttemptEvent>(OnPickupAttempt);
|
||||||
SubscribeLocalEvent<SharedCuffableComponent, PullMessage>(OnPull);
|
SubscribeLocalEvent<SharedCuffableComponent, PullStartedMessage>(OnPull);
|
||||||
|
SubscribeLocalEvent<SharedCuffableComponent, PullStoppedMessage>(OnPull);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnPull(EntityUid uid, SharedCuffableComponent component, PullMessage args)
|
private void OnPull(EntityUid uid, SharedCuffableComponent component, PullMessage args)
|
||||||
|
|||||||
Reference in New Issue
Block a user