Fixes the exit button sound (#92)

This commit is contained in:
rtm516 2026-03-02 05:41:40 +00:00 committed by GitHub
parent fa4a1206b3
commit 109f563daa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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