Make combat check CanInteract (#7046)
This commit is contained in:
@@ -29,7 +29,6 @@ namespace Content.Shared.MobState.EntitySystems
|
||||
SubscribeLocalEvent<MobStateComponent, IsEquippingAttemptEvent>(OnEquipAttempt);
|
||||
SubscribeLocalEvent<MobStateComponent, EmoteAttemptEvent>(OnEmoteAttempt);
|
||||
SubscribeLocalEvent<MobStateComponent, IsUnequippingAttemptEvent>(OnUnequipAttempt);
|
||||
SubscribeLocalEvent<MobStateComponent, AttackAttemptEvent>(OnAttackAttempt);
|
||||
SubscribeLocalEvent<MobStateComponent, DropAttemptEvent>(OnDropAttempt);
|
||||
SubscribeLocalEvent<MobStateComponent, PickupAttemptEvent>(OnPickupAttempt);
|
||||
SubscribeLocalEvent<MobStateComponent, StartPullAttemptEvent>(OnStartPullAttempt);
|
||||
@@ -96,11 +95,6 @@ namespace Content.Shared.MobState.EntitySystems
|
||||
CheckAct(uid, component, args);
|
||||
}
|
||||
|
||||
private void OnAttackAttempt(EntityUid uid, MobStateComponent component, AttackAttemptEvent args)
|
||||
{
|
||||
CheckAct(uid, component, args);
|
||||
}
|
||||
|
||||
private void OnDropAttempt(EntityUid uid, MobStateComponent component, DropAttemptEvent args)
|
||||
{
|
||||
CheckAct(uid, component, args);
|
||||
|
||||
Reference in New Issue
Block a user