Fix EquipmentVerbs not showing up in strip menu (#41631)
commit Co-authored-by: iaada <iaada@users.noreply.github.com>
This commit is contained in:
parent
42c7daeed7
commit
83ed95952a
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ namespace Content.Shared.Verbs
|
|||
if (types.Contains(typeof(EquipmentVerb)))
|
||||
{
|
||||
var access = canAccess || _interactionSystem.CanAccessEquipment(user, target);
|
||||
var verbEvent = new GetVerbsEvent<EquipmentVerb>(user, target, @using, hands, canInteract: canInteract, canComplexInteract: canComplexInteract, canAccess: canAccess, extraCategories);
|
||||
var verbEvent = new GetVerbsEvent<EquipmentVerb>(user, target, @using, hands, canInteract: canInteract, canComplexInteract: canComplexInteract, canAccess: access, extraCategories);
|
||||
RaiseLocalEvent(target, verbEvent);
|
||||
verbs.UnionWith(verbEvent.Verbs);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue