Kind of jank but the old functionality is back, and now needs to move to loot ui dealing with any container.
This commit is contained in:
parent
812407c3df
commit
2c6565c40a
2 changed files with 8 additions and 1 deletions
|
@ -58,7 +58,10 @@ namespace gui {
|
|||
}
|
||||
|
||||
void LootUI::update() {
|
||||
if(!$level.world->has<inventory::Model>($target)) return;
|
||||
if(!$level.world->has<inventory::Model>($target)) {
|
||||
dbc::log("NO INV MODEL?!");
|
||||
return;
|
||||
}
|
||||
|
||||
auto& contents = $level.world->get<inventory::Model>($target);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue