butcher canreach

fixes #6900
This commit is contained in:
Kara D 2022-02-26 18:00:38 -07:00
parent df16de073f
commit 6eea261d74
No known key found for this signature in database
GPG key ID: 42F001DDA3E95C84

View file

@ -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;