1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-04-01 01:36: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:
Andrei Kortunov 2019-05-13 17:59:32 +04:00
parent d37cb871d6
commit 27737d4258

View file

@ -161,6 +161,7 @@ namespace MWGui
if (mModel) if (mModel)
mModel->onClose(); mModel->onClose();
if (!mPtr.isEmpty())
MWBase::Environment::get().getMechanicsManager()->onClose(mPtr); MWBase::Environment::get().getMechanicsManager()->onClose(mPtr);
} }