Fixed broken quit game button again.

This commit is contained in:
aedanmills 2026-03-28 21:01:28 -04:00
parent eb7bb6e518
commit 75d83a4556
2 changed files with 10 additions and 3 deletions

View file

@ -7071,6 +7071,9 @@ All Ender Chests in a world are linked. Items placed into an Ender Chest are acc
<data name="IDS_OK">
<value>OK</value>
</data>
<data name="IDS_CANCEL">
<value>Cancel</value>
</data>
<data name="IDS_BACK_BUTTON">
<value>SELECT</value>
</data>
@ -7198,6 +7201,9 @@ You can upload a world save to the save transfer area using Minecraft: PlayStati
<data name="IDS_WARNING_ARCADE_TITLE">
<value>Exit Game</value>
</data>
<data name="IDS_WARNING_ARCADE_TEXT">
<value>Are you sure you want to exit the game?</value>
</data>
<data name="IDS_PRO_RETURNEDTOTITLESCREEN_TEXT">
<value>You have been returned to the title screen because your Xbox profile was signed out</value>
</data>

View file

@ -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: