mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 16:06:44 +00:00
Fix an exception during reload when container windows is active.
It is a regression in the animated containers feature.
This commit is contained in:
parent
d37cb871d6
commit
27737d4258
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,8 @@ namespace MWGui
|
||||||
if (mModel)
|
if (mModel)
|
||||||
mModel->onClose();
|
mModel->onClose();
|
||||||
|
|
||||||
MWBase::Environment::get().getMechanicsManager()->onClose(mPtr);
|
if (!mPtr.isEmpty())
|
||||||
|
MWBase::Environment::get().getMechanicsManager()->onClose(mPtr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ContainerWindow::onCloseButtonClicked(MyGUI::Widget* _sender)
|
void ContainerWindow::onCloseButtonClicked(MyGUI::Widget* _sender)
|
||||||
|
|
Loading…
Reference in a new issue