Ritual ui now does the combination correctly.

This commit is contained in:
Zed A. Shaw 2025-05-02 00:23:07 -04:00
parent dab0e092e6
commit bac552c3d7

View file

@ -175,7 +175,6 @@ namespace gui {
} }
} }
void UI::load_blanket() { void UI::load_blanket() {
// update the list of available items // update the list of available items
int i = 0; int i = 0;
@ -193,7 +192,7 @@ namespace gui {
} }
for(; i < INV_SLOTS; i++) { for(; i < INV_SLOTS; i++) {
auto slot_id = $gui.entity("inv_slot", i++); auto slot_id = $gui.entity("inv_slot", i);
$gui.remove<Sprite>(slot_id); $gui.remove<Sprite>(slot_id);
$gui.remove<Clickable>(slot_id); $gui.remove<Clickable>(slot_id);
} }