mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Fix: The buttons in the Death menu do not make a clicking sound
This commit is contained in:
parent
b9c55c271e
commit
558f4a79be
|
|
@ -81,6 +81,8 @@ void UIScene_DeathMenu::handleInput(int iPad, int key, bool repeat, bool pressed
|
||||||
|
|
||||||
void UIScene_DeathMenu::handlePress(F64 controlId, F64 childId)
|
void UIScene_DeathMenu::handlePress(F64 controlId, F64 childId)
|
||||||
{
|
{
|
||||||
|
ui.PlayUISFX(eSFX_Press);
|
||||||
|
|
||||||
switch(static_cast<int>(controlId))
|
switch(static_cast<int>(controlId))
|
||||||
{
|
{
|
||||||
case eControl_Respawn:
|
case eControl_Respawn:
|
||||||
|
|
@ -188,4 +190,4 @@ void UIScene_DeathMenu::handlePress(F64 controlId, F64 childId)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue