1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-02 03:56:39 +00:00

Play correct sound and update button overlay when swapping between menus

This commit is contained in:
Andrew Lanzone 2025-05-20 19:32:13 -07:00
parent 23c733ef94
commit ba0a579371

View file

@ -948,7 +948,9 @@ namespace MWGui
{
mGuiModeStates[mode].mWindows[i]->setActiveControllerWindow(i == activeIndex);
}
playSound(ESM::RefId::stringRefId("Menu Click"));
updateControllerButtonsOverlay();
if (winCount > 1)
playSound(ESM::RefId::stringRefId("Menu Size"));
}
}