Fix button order
This commit is contained in:
parent
db3d24195a
commit
5c8cfaeb61
@ -1,12 +1,3 @@
|
|||||||
LUI.addmenubutton("main_campaign", {
|
|
||||||
index = 6,
|
|
||||||
text = "@LUA_MENU_ACHIEVEMENTS",
|
|
||||||
description = Engine.Localize("@LUA_MENU_ACHIEVEMENTS_DESC"),
|
|
||||||
callback = function()
|
|
||||||
LUI.FlowManager.RequestAddMenu(nil, "achievements_menu")
|
|
||||||
end
|
|
||||||
})
|
|
||||||
|
|
||||||
LUI.addmenubutton("main_campaign", {
|
LUI.addmenubutton("main_campaign", {
|
||||||
index = 6,
|
index = 6,
|
||||||
text = "@MENU_MODS",
|
text = "@MENU_MODS",
|
||||||
@ -16,6 +7,15 @@ LUI.addmenubutton("main_campaign", {
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
LUI.addmenubutton("main_campaign", {
|
||||||
|
index = 6,
|
||||||
|
text = "@LUA_MENU_ACHIEVEMENTS",
|
||||||
|
description = Engine.Localize("@LUA_MENU_ACHIEVEMENTS_DESC"),
|
||||||
|
callback = function()
|
||||||
|
LUI.FlowManager.RequestAddMenu(nil, "achievements_menu")
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
local maincampaign = LUI.MenuBuilder.m_types_build["main_campaign"]
|
local maincampaign = LUI.MenuBuilder.m_types_build["main_campaign"]
|
||||||
LUI.MenuBuilder.m_types_build["main_campaign"] = function(...)
|
LUI.MenuBuilder.m_types_build["main_campaign"] = function(...)
|
||||||
local initlist = LUI.Options.InitScrollingList
|
local initlist = LUI.Options.InitScrollingList
|
||||||
|
Loading…
Reference in New Issue
Block a user