Removal interaction without hands (#8843)

This commit is contained in:
KIBORG04
2022-06-15 08:39:43 +07:00
committed by GitHub
parent 038d534d60
commit a75a921955
9 changed files with 9 additions and 8 deletions

View File

@@ -110,7 +110,7 @@ public sealed class SharpSystem : EntitySystem
private void OnGetInteractionVerbs(EntityUid uid, SharedButcherableComponent component, GetVerbsEvent<InteractionVerb> args)
{
if (component.Type != ButcheringType.Knife)
if (component.Type != ButcheringType.Knife || args.Hands == null)
return;
bool disabled = false;