From 068b54a063b374277f7bdf29a534659dee26e886 Mon Sep 17 00:00:00 2001 From: fox Date: Fri, 27 Sep 2024 15:02:48 +0300 Subject: [PATCH] ...and not force --- Content.Shared/InteractionVerbs/SharedInteractionVerbsSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/InteractionVerbs/SharedInteractionVerbsSystem.cs b/Content.Shared/InteractionVerbs/SharedInteractionVerbsSystem.cs index 1978cecc3c..f8100e71c3 100644 --- a/Content.Shared/InteractionVerbs/SharedInteractionVerbsSystem.cs +++ b/Content.Shared/InteractionVerbs/SharedInteractionVerbsSystem.cs @@ -178,7 +178,7 @@ public void PerformVerb(InteractionVerbPrototype proto, InteractionArgs args, bo if (_net.IsClient) return; // this leads to issues - if (!PerformChecks(proto, ref args, out _, out _) + if (!PerformChecks(proto, ref args, out _, out _) && !force || !proto.Action!.CanPerform(args, proto, false, _verbDependencies) && !force || !proto.Action.Perform(args, proto, _verbDependencies)) {