Merge branch 'main' into lua_audio

This commit is contained in:
MihailRis 2024-03-06 14:09:38 +03:00
commit f5b4976b18

View File

@ -339,7 +339,7 @@ void InventoryView::bind(
}
void InventoryView::unbind() {
if (inventory->isVirtual()) {
if (inventory && inventory->isVirtual()) {
frontend->getLevel()->inventories->remove(inventory->getId());
}
}