Fix storage UI interactions (#28291)

* Fix storage UI interactions

* Add VV support
This commit is contained in:
Leon Friedrich
2024-05-26 14:11:37 +12:00
committed by GitHub
parent d5aae7a48b
commit 12841da9a1
2 changed files with 4 additions and 2 deletions

View File

@@ -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>