From bac552c3d7df0ef0147c7af5e0df83f2a9f004f9 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Fri, 2 May 2025 00:23:07 -0400 Subject: [PATCH] Ritual ui now does the combination correctly. --- ritual_ui.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ritual_ui.cpp b/ritual_ui.cpp index 10f21e5..699a07a 100644 --- a/ritual_ui.cpp +++ b/ritual_ui.cpp @@ -175,7 +175,6 @@ namespace gui { } } - void UI::load_blanket() { // update the list of available items int i = 0; @@ -193,7 +192,7 @@ namespace gui { } for(; i < INV_SLOTS; i++) { - auto slot_id = $gui.entity("inv_slot", i++); + auto slot_id = $gui.entity("inv_slot", i); $gui.remove(slot_id); $gui.remove(slot_id); }