Fix: The buttons in the Pause menu do not make a clicking sound

This commit is contained in:
Adem Kurt 2026-03-19 15:48:12 +03:00 committed by GitHub
parent 558f4a79be
commit 26505c7661
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -504,6 +504,8 @@ void UIScene_PauseMenu::handleInput(int iPad, int key, bool repeat, bool pressed
void UIScene_PauseMenu::handlePress(F64 controlId, F64 childId)
{
ui.PlayUISFX(eSFX_Press);
if(m_bIgnoreInput) return;
switch(static_cast<int>(controlId))
@ -1478,4 +1480,4 @@ bool UIScene_PauseMenu::CheckForPatch()
return bPatchAvailable;
}
#endif
#endif