diff options
| author | rtm516 <rtm516@users.noreply.github.com> | 2026-03-02 05:41:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-02 13:41:40 +0800 |
| commit | 109f563daabad56430ac7aafb9e513527db5fc9a (patch) | |
| tree | 4fe16d0fcc0c7b80e98929041ab795a769dbc0f2 /Minecraft.Client | |
| parent | fa4a1206b3aead0a946479f28629bd539ed6643c (diff) | |
Fixes the exit button sound (#92)
Diffstat (limited to 'Minecraft.Client')
| -rw-r--r-- | Minecraft.Client/Common/UI/UIScene_MainMenu.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Minecraft.Client/Common/UI/UIScene_MainMenu.cpp b/Minecraft.Client/Common/UI/UIScene_MainMenu.cpp index c909fbc6..e05b6df8 100644 --- a/Minecraft.Client/Common/UI/UIScene_MainMenu.cpp +++ b/Minecraft.Client/Common/UI/UIScene_MainMenu.cpp @@ -335,8 +335,11 @@ void UIScene_MainMenu::handlePress(F64 controlId, F64 childId) signInReturnedFunc = &UIScene_MainMenu::UnlockFullGame_SignInReturned; break; case eControl_Exit: + //CD - Added for audio + ui.PlayUISFX(eSFX_Press); + if( ProfileManager.IsFullVersion() ) - { + { UINT uiIDA[2]; uiIDA[0]=IDS_CANCEL; uiIDA[1]=IDS_OK; |
