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

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

View file

@ -81,6 +81,8 @@ void UIScene_DeathMenu::handleInput(int iPad, int key, bool repeat, bool pressed
void UIScene_DeathMenu::handlePress(F64 controlId, F64 childId)
{
ui.PlayUISFX(eSFX_Press);
switch(static_cast<int>(controlId))
{
case eControl_Respawn:
@ -188,4 +190,4 @@ void UIScene_DeathMenu::handlePress(F64 controlId, F64 childId)
}
break;
}
}
}