Clean things up before solving the move problem.
This commit is contained in:
parent
6576164fad
commit
8c8d6dc9e7
4 changed files with 16 additions and 18 deletions
|
@ -104,8 +104,6 @@ namespace gui {
|
|||
auto& slot_name = $slot_to_name.at(gui_id);
|
||||
auto& inventory = $level.world->get_the<inventory::Model>();
|
||||
|
||||
inventory.dump();
|
||||
|
||||
if(inventory.add(slot_name, world_entity)) {
|
||||
$level.world->make_constant(world_entity);
|
||||
update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue