Ritual ui now does the combination correctly.
This commit is contained in:
parent
dab0e092e6
commit
bac552c3d7
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue