fix exit button

This commit is contained in:
DrPerkyLegit
2026-06-23 16:33:46 -04:00
parent eb385fec78
commit 7a95fd826a
2 changed files with 3 additions and 1 deletions

View File

@@ -334,7 +334,8 @@ void UIScene_MainMenu::handlePress(F64 controlId, F64 childId)
m_eAction=eAction_RunUnlockOrDLC;
signInReturnedFunc = &UIScene_MainMenu::UnlockFullGame_SignInReturned;
break;
#if defined _XBOX
//DrPerky - added exit control handling on windows
#if defined _XBOX || defined _WINDOWS64
case eControl_Exit:
if( ProfileManager.IsFullVersion() )
{

View File

@@ -26,6 +26,7 @@ void CConsoleMinecraftApp::StoreLaunchData()
}
void CConsoleMinecraftApp::ExitGame()
{
exit(0);
}
void CConsoleMinecraftApp::FatalLoadError()
{