From 75d83a455608eedcd27d43a6ea15a33c0071775a Mon Sep 17 00:00:00 2001 From: aedanmills <40202903+aedanmills@users.noreply.github.com> Date: Sat, 28 Mar 2026 21:01:28 -0400 Subject: [PATCH 1/2] Fixed broken quit game button again. --- Minecraft.Assets/Windows64Media/loc/en-EN/strings.lang | 6 ++++++ Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Minecraft.Assets/Windows64Media/loc/en-EN/strings.lang b/Minecraft.Assets/Windows64Media/loc/en-EN/strings.lang index 2a3a90f32..f29d1e6a8 100644 --- a/Minecraft.Assets/Windows64Media/loc/en-EN/strings.lang +++ b/Minecraft.Assets/Windows64Media/loc/en-EN/strings.lang @@ -7071,6 +7071,9 @@ All Ender Chests in a world are linked. Items placed into an Ender Chest are acc OK + + Cancel + SELECT @@ -7198,6 +7201,9 @@ You can upload a world save to the save transfer area using Minecraft: PlayStati Exit Game + + Are you sure you want to exit the game? + You have been returned to the title screen because your Xbox profile was signed out diff --git a/Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp b/Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp index 29fa2b306..d2d28903c 100644 --- a/Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp +++ b/Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp @@ -363,7 +363,6 @@ void UIScene_MainMenu::handlePress(F64 controlId, F64 childId) { signInReturnedFunc = &UIScene_MainMenu::UnlockFullGame_SignInReturned; break; -#if defined _XBOX case eControl_Exit: if (ProfileManager.IsFullVersion()) { unsigned int uiIDA[2]; @@ -372,14 +371,16 @@ void UIScene_MainMenu::handlePress(F64 controlId, F64 childId) { ui.RequestErrorMessage( IDS_WARNING_ARCADE_TITLE, IDS_WARNING_ARCADE_TEXT, uiIDA, 2, XUSER_INDEX_ANY, &UIScene_MainMenu::ExitGameReturned, this); - } else { + } +#if defined _XBOX //|| _ENABLEIGGY + else { #ifdef _XBOX_ONE ui.ShowPlayerDisplayname(true); #endif ui.NavigateToScene(primaryPad, eUIScene_TrialExitUpsell); } - break; #endif + break; #ifdef _DURANGO case eControl_XboxHelp: From 740f1b5c6444b9e7eeeef5b0675d6bc10e9e33e9 Mon Sep 17 00:00:00 2001 From: aedanmills <40202903+aedanmills@users.noreply.github.com> Date: Sat, 28 Mar 2026 22:53:15 -0400 Subject: [PATCH 2/2] Update --- Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp b/Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp index d2d28903c..064805692 100644 --- a/Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp +++ b/Minecraft.Client/Platform/Common/UI/UIScene_MainMenu.cpp @@ -363,6 +363,7 @@ void UIScene_MainMenu::handlePress(F64 controlId, F64 childId) { signInReturnedFunc = &UIScene_MainMenu::UnlockFullGame_SignInReturned; break; +#if defined(_XBOX) || defined(__linux__) case eControl_Exit: if (ProfileManager.IsFullVersion()) { unsigned int uiIDA[2]; @@ -372,7 +373,6 @@ void UIScene_MainMenu::handlePress(F64 controlId, F64 childId) { IDS_WARNING_ARCADE_TITLE, IDS_WARNING_ARCADE_TEXT, uiIDA, 2, XUSER_INDEX_ANY, &UIScene_MainMenu::ExitGameReturned, this); } -#if defined _XBOX //|| _ENABLEIGGY else { #ifdef _XBOX_ONE ui.ShowPlayerDisplayname(true);