parent
df16de073f
commit
6eea261d74
1 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ public sealed class SharpSystem : EntitySystem
|
|||
|
||||
private void OnAfterInteract(EntityUid uid, SharpComponent component, AfterInteractEvent args)
|
||||
{
|
||||
if (!args.CanReach)
|
||||
return;
|
||||
|
||||
if (args.Target is null || !TryComp<SharedButcherableComponent>(args.Target, out var butcher))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue