Toggle Hotbar on inv open

This commit is contained in:
Janis Meister
2023-02-23 12:52:54 +01:00
parent 5edcd3625b
commit 8565630bd2

View File

@@ -22,11 +22,12 @@ public class InventoryUI : GuiPanel
CreateSlots();
}
UpdateSlots();
GuiManager.Instance.ClosePanel("Hotbar");
}
public override void OnClose()
{
GuiManager.Instance.OpenPanel("Hotbar");
}
private void CreateSlots()
{