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

@@ -18,7 +18,7 @@ namespace Content.Server.Engineering.EntitySystems
}
private void AddDisassembleVerb(EntityUid uid, DisassembleOnAltVerbComponent component, GetVerbsEvent<AlternativeVerb> args)
{
if (!args.CanInteract || !args.CanAccess)
if (!args.CanInteract || !args.CanAccess || args.Hands == null)
return;
AlternativeVerb verb = new()