Change deconstruct verb accessibility (#5583)
This commit is contained in:
parent
1c02b1d0d2
commit
94afcb2c4e
|
|
@ -178,7 +178,7 @@ namespace Content.Shared.Verbs
|
|||
Target = target;
|
||||
|
||||
CanAccess = force || (Target == User) || user.IsInSameOrParentContainer(target) &&
|
||||
EntitySystem.Get<SharedInteractionSystem>().InRangeUnobstructed(user, target);
|
||||
EntitySystem.Get<SharedInteractionSystem>().InRangeUnobstructed(user, target, ignoreInsideBlocker: true);
|
||||
|
||||
// A large number of verbs need to check action blockers. Instead of repeatedly having each system individually
|
||||
// call ActionBlocker checks, just cache it for the verb request.
|
||||
|
|
|
|||
Loading…
Reference in New Issue