diff --git a/client/client_world.ts b/client/client_world.ts index 978f914..bd970da 100644 --- a/client/client_world.ts +++ b/client/client_world.ts @@ -38,11 +38,11 @@ export class ClientWorld extends World { // Logic systems this.add_system(new UIInteractionSystem(), "main_menu"); this.add_system(new UIInteractionSystem(), "paused"); + this.add_system(new GuiTickSystem(), "game"); this.add_system(new ClickableSystem(), "game"); this.add_system(new PlayerControlsSystem(), "game"); this.add_system(new MovementSystem(), "game"); this.add_system(new DimensionLogicSystem(), "game"); - this.add_system(new GuiTickSystem(), "game"); // render systems this.add_system(new RenderSystem(), "game"); diff --git a/client/gui/gui_chest.ts b/client/gui/gui_chest.ts index fde25a9..59c1cd6 100644 --- a/client/gui/gui_chest.ts +++ b/client/gui/gui_chest.ts @@ -9,7 +9,7 @@ const PADDING = 10; export class GuiChest extends GuiScreen { override inventory_width = PADDING * 2 + SLOT_SIZE * 9; - override inventory_height = PADDING * 3 + SLOT_SIZE * 7; + override inventory_height = PADDING * 4 + SLOT_SIZE * 7; constructor(inventory: Inventory, player_inventory: PlayerInventory) { super(inventory, player_inventory, undefined);