organize menu lua

- fix some whitespace
This commit is contained in:
WantedDV
2024-02-10 12:28:15 -03:30
parent b7e877e4b8
commit ea1ad507a0
9 changed files with 217 additions and 102 deletions

View File

@@ -38,6 +38,7 @@ game:addlocalizedstring("LUA_MENU_RANK_DESC", "Edit rank.")
local armorybutton = LUI.MPLobbyBase.AddArmoryButton
LUI.MPLobbyBase.AddArmoryButton = function(menu)
-- armorybutton(menu) -- disabled armory button until support for supply drops is added
menu:AddButton("@LUA_MENU_STATS", function(a1, a2)
LUI.FlowManager.RequestAddMenu(a1, "menu_stats", true, nil)
end)