Allow interaction if targeting the containing entity
This commit is contained in:
parent
5901e6e45f
commit
2fd93091c7
1 changed files with 2 additions and 1 deletions
|
|
@ -263,7 +263,8 @@ namespace Content.Server.GameObjects.EntitySystems.Click
|
|||
}
|
||||
|
||||
if (!ActionBlockerSystem.CanInteract(player) ||
|
||||
ContainerHelpers.IsInContainer(player))
|
||||
ContainerHelpers.TryGetContainer(player, out var container) &&
|
||||
container.Owner != attacked)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue