Fix EquipmentVerbs not showing up in strip menu (#41631)

commit

Co-authored-by: iaada <iaada@users.noreply.github.com>
This commit is contained in:
āda 2025-11-29 23:07:51 -06:00 committed by BarryNorfolk
parent 8445778bc1
commit c98d7cbb13
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}