update Inventory::Create to return a status

This commit is contained in:
scawful
2024-05-28 17:56:44 -04:00
parent 23f0311ec9
commit 3201f0c152
3 changed files with 6 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ void ScreenEditor::DrawInventoryMenuEditor() {
static bool create = false;
if (!create && rom()->is_loaded()) {
inventory_.Create();
status_ = inventory_.Create();
palette_ = inventory_.Palette();
create = true;
}