Fix handcuffed players being able to escape pulls (#7534)

This commit is contained in:
Leon Friedrich
2022-04-13 19:11:55 +12:00
committed by GitHub
parent 5b5ece57b1
commit 823941764a

View File

@@ -26,7 +26,8 @@ namespace Content.Shared.Cuffs
SubscribeLocalEvent<SharedCuffableComponent, IsUnequippingAttemptEvent>(OnUnequipAttempt);
SubscribeLocalEvent<SharedCuffableComponent, DropAttemptEvent>(OnDropAttempt);
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)