mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +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, []()
|
||||
{
|
||||
M_ClearMenus();
|
||||
gi->ExitFromMenu();
|
||||
});
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ template <class func>
|
|||
void runtwoscreens(func completion)
|
||||
{
|
||||
// shareware and TEN screens
|
||||
if (!isShareware() && !isRR())
|
||||
if (isShareware() && !isRR())
|
||||
showtwoscreens(completion);
|
||||
else completion(false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue