mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
Fix menu setting page key set
This commit is contained in:
parent
ad5d594c28
commit
d9f8c5c3e8
@ -499,7 +499,7 @@ return {
|
|||||||
version = 1,
|
version = 1,
|
||||||
registerPage = function(options)
|
registerPage = function(options)
|
||||||
registerPage(options)
|
registerPage(options)
|
||||||
menuPages[options] = true
|
menuPages[options.key] = true
|
||||||
end,
|
end,
|
||||||
registerRenderer = registerRenderer,
|
registerRenderer = registerRenderer,
|
||||||
registerGroup = function(options)
|
registerGroup = function(options)
|
||||||
@ -514,8 +514,8 @@ return {
|
|||||||
engineHandlers = {
|
engineHandlers = {
|
||||||
onStateChanged = function()
|
onStateChanged = function()
|
||||||
resetPlayerGroups()
|
resetPlayerGroups()
|
||||||
updatePlayerGroups()
|
|
||||||
if menu.getState() == menu.STATE.Running then
|
if menu.getState() == menu.STATE.Running then
|
||||||
|
updatePlayerGroups()
|
||||||
updateGlobalGroups()
|
updateGlobalGroups()
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user