Make combat check CanInteract (#7046)
This commit is contained in:
@@ -20,7 +20,6 @@ namespace Content.Shared.Cuffs
|
||||
SubscribeLocalEvent<SharedCuffableComponent, InteractionAttemptEvent>(OnInteractAttempt);
|
||||
SubscribeLocalEvent<SharedCuffableComponent, IsEquippingAttemptEvent>(OnEquipAttempt);
|
||||
SubscribeLocalEvent<SharedCuffableComponent, IsUnequippingAttemptEvent>(OnUnequipAttempt);
|
||||
SubscribeLocalEvent<SharedCuffableComponent, AttackAttemptEvent>(OnAttackAttempt);
|
||||
SubscribeLocalEvent<SharedCuffableComponent, DropAttemptEvent>(OnDropAttempt);
|
||||
SubscribeLocalEvent<SharedCuffableComponent, PickupAttemptEvent>(OnPickupAttempt);
|
||||
}
|
||||
@@ -75,11 +74,6 @@ namespace Content.Shared.Cuffs
|
||||
CheckAct(uid, component, args);
|
||||
}
|
||||
|
||||
private void OnAttackAttempt(EntityUid uid, SharedCuffableComponent component, AttackAttemptEvent args)
|
||||
{
|
||||
CheckAct(uid, component, args);
|
||||
}
|
||||
|
||||
private void OnDropAttempt(EntityUid uid, SharedCuffableComponent component, DropAttemptEvent args)
|
||||
{
|
||||
CheckAct(uid, component, args);
|
||||
|
||||
Reference in New Issue
Block a user