mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-12 16:34:52 +00:00
Merge branch 'doubleexit' into 'master'
Don't assume there is a GUI mode in exitCurrentGuiMode (#8380) Closes #8380 See merge request OpenMW/openmw!4590
This commit is contained in:
commit
241a24564a
@ -729,6 +729,9 @@ namespace MWGui
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mGuiModes.empty())
|
||||||
|
return;
|
||||||
|
|
||||||
GuiModeState& state = mGuiModeStates[mGuiModes.back()];
|
GuiModeState& state = mGuiModeStates[mGuiModes.back()];
|
||||||
for (const auto& window : state.mWindows)
|
for (const auto& window : state.mWindows)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user