Merge branch 'main' into lua_audio
This commit is contained in:
commit
f5b4976b18
@ -339,7 +339,7 @@ void InventoryView::bind(
|
|||||||
}
|
}
|
||||||
|
|
||||||
void InventoryView::unbind() {
|
void InventoryView::unbind() {
|
||||||
if (inventory->isVirtual()) {
|
if (inventory && inventory->isVirtual()) {
|
||||||
frontend->getLevel()->inventories->remove(inventory->getId());
|
frontend->getLevel()->inventories->remove(inventory->getId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user