mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- fixed lockup on Shareware screen when quitting Duke
Two errors: the menu wasn’t closed and the shareware check was inverted.
This commit is contained in:
parent
a792f329ca
commit
86ad576675
2 changed files with 2 additions and 1 deletions
|
@ -216,6 +216,7 @@ CCMD(menu_quit)
|
||||||
|
|
||||||
DMenu* newmenu = CreateMessageBoxMenu(CurrentMenu, EndString, 0, false, NAME_None, []()
|
DMenu* newmenu = CreateMessageBoxMenu(CurrentMenu, EndString, 0, false, NAME_None, []()
|
||||||
{
|
{
|
||||||
|
M_ClearMenus();
|
||||||
gi->ExitFromMenu();
|
gi->ExitFromMenu();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@ template <class func>
|
||||||
void runtwoscreens(func completion)
|
void runtwoscreens(func completion)
|
||||||
{
|
{
|
||||||
// shareware and TEN screens
|
// shareware and TEN screens
|
||||||
if (!isShareware() && !isRR())
|
if (isShareware() && !isRR())
|
||||||
showtwoscreens(completion);
|
showtwoscreens(completion);
|
||||||
else completion(false);
|
else completion(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue