1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 20:53:50 +00:00

Fix regression #5666

This commit is contained in:
Alexei Dobrohotov 2020-10-27 18:08:14 +03:00
parent 74dfc09e2d
commit 9763995892

View file

@ -519,6 +519,9 @@ namespace MWGui
void TradeWindow::onClose()
{
// Make sure the window was actually closed and not temporarily hidden.
if (MWBase::Environment::get().getWindowManager()->containsMode(GM_Barter))
return;
resetReference();
}
}