From fd83fc8d8e82543f1afab67572a3e070b76057eb Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Tue, 11 Jan 2022 16:42:39 +1300 Subject: [PATCH] Hide deconstruct verb if user cannot interact. (#6122) --- Content.Server/Construction/ConstructionSystem.Guided.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Construction/ConstructionSystem.Guided.cs b/Content.Server/Construction/ConstructionSystem.Guided.cs index d0ba3c5909..df2bba80bc 100644 --- a/Content.Server/Construction/ConstructionSystem.Guided.cs +++ b/Content.Server/Construction/ConstructionSystem.Guided.cs @@ -33,7 +33,7 @@ namespace Content.Server.Construction private void AddDeconstructVerb(EntityUid uid, ConstructionComponent component, GetOtherVerbsEvent args) { - if (!args.CanAccess) + if (!args.CanAccess || !args.CanInteract) return; if (component.TargetNode == component.DeconstructionNode ||