Fix storage UI interactions (#28291)
* Fix storage UI interactions * Add VV support
This commit is contained in:
@@ -1167,7 +1167,7 @@ namespace Content.Shared.Interaction
|
||||
return false;
|
||||
|
||||
// we don't check if the user can access the storage entity itself. This should be handed by the UI system.
|
||||
return _ui.IsUiOpen(target, StorageComponent.StorageUiKey.Key, user);
|
||||
return _ui.IsUiOpen(container.Owner, StorageComponent.StorageUiKey.Key, user);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user