Skip to content

Commit

Permalink
...and not force
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnemotechnician committed Sep 27, 2024
1 parent 04a40ba commit 068b54a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 068b54a

Please sign in to comment.