1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00

Fix menu setting page key set

This commit is contained in:
uramer 2024-01-27 15:03:34 +01:00
parent ad5d594c28
commit d9f8c5c3e8

View File

@ -499,7 +499,7 @@ return {
version = 1,
registerPage = function(options)
registerPage(options)
menuPages[options] = true
menuPages[options.key] = true
end,
registerRenderer = registerRenderer,
registerGroup = function(options)
@ -514,8 +514,8 @@ return {
engineHandlers = {
onStateChanged = function()
resetPlayerGroups()
updatePlayerGroups()
if menu.getState() == menu.STATE.Running then
updatePlayerGroups()
updateGlobalGroups()
end
end,