diff --git a/Content.Client/Storage/StorageBoundUserInterface.cs b/Content.Client/Storage/StorageBoundUserInterface.cs index 16545c3578..8cb415dead 100644 --- a/Content.Client/Storage/StorageBoundUserInterface.cs +++ b/Content.Client/Storage/StorageBoundUserInterface.cs @@ -92,12 +92,5 @@ public sealed class StorageBoundUserInterface : BoundUserInterface Show(); LayoutContainer.SetPosition(_window, position); } - - public void ReOpen() - { - _window?.Orphan(); - _window = null; - Open(); - } } diff --git a/Content.Client/UserInterface/Systems/Storage/StorageUIController.cs b/Content.Client/UserInterface/Systems/Storage/StorageUIController.cs index dbb16ab24a..768a434d83 100644 --- a/Content.Client/UserInterface/Systems/Storage/StorageUIController.cs +++ b/Content.Client/UserInterface/Systems/Storage/StorageUIController.cs @@ -61,39 +61,11 @@ public sealed class StorageUIController : UIController, IOnSystemChanged(); - - foreach (var bui in uiSystem.GetActorUis((_player.LocalEntity.Value, userComp))) - { - if (!uiSystem.TryGetOpenUi(bui.Entity, StorageComponent.StorageUiKey.Key, out var storageBui)) - continue; - - storageBui.ReOpen(); - } - } - private void OnStorageWindowTitle(bool obj) { WindowTitle = obj;