mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Clean up and improve mainmenu theme / game theme code (#13885)
This commit is contained in:
parent
62eb6cfed0
commit
b1dec37adb
10 changed files with 96 additions and 80 deletions
|
@ -89,7 +89,7 @@ local function init_globals()
|
|||
menudata.worldlist:set_sortmode("alphabetic")
|
||||
|
||||
mm_game_theme.init()
|
||||
mm_game_theme.reset()
|
||||
mm_game_theme.set_engine() -- This is just a fallback.
|
||||
|
||||
-- Create main tabview
|
||||
local tv_main = tabview_create("maintab", {x = 15.5, y = 7.1}, {x = 0, y = 0})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue