mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Merge pull request #2381 from akortunov/warnfix
Fix an exception during reload when container windows is active
This commit is contained in:
commit
50c87bacea
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user