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:
parent
74dfc09e2d
commit
9763995892
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue