diff --git a/Content.Client/UserInterface/Systems/Inventory/InventoryUIController.cs b/Content.Client/UserInterface/Systems/Inventory/InventoryUIController.cs index fb74779917..5d7a775104 100644 --- a/Content.Client/UserInterface/Systems/Inventory/InventoryUIController.cs +++ b/Content.Client/UserInterface/Systems/Inventory/InventoryUIController.cs @@ -132,6 +132,9 @@ private void UpdateInventoryHotbar(InventorySlotsComponent? clientInv) if (clientInv == null) { _inventoryHotbar?.ClearButtons(); + if (_inventoryButton != null) + _inventoryButton.Visible = false; + return; } @@ -409,6 +412,8 @@ private void UnloadSlots() { slotGroup.ClearButtons(); } + + UpdateInventoryHotbar(null); } private void SpriteUpdated(SlotSpriteUpdate update)