Fix button order

This commit is contained in:
fed 2023-04-09 20:21:16 +02:00
parent db3d24195a
commit 5c8cfaeb61

View File

@ -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", {
index = 6,
text = "@MENU_MODS",
@ -16,6 +7,15 @@ LUI.addmenubutton("main_campaign", {
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"]
LUI.MenuBuilder.m_types_build["main_campaign"] = function(...)
local initlist = LUI.Options.InitScrollingList