Clean things up before solving the move problem.

This commit is contained in:
Zed A. Shaw 2025-07-02 10:51:23 -04:00
parent 6576164fad
commit 8c8d6dc9e7
4 changed files with 16 additions and 18 deletions

View file

@ -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();