Skip to content
Snippets Groups Projects
Commit e9e9e425 authored by BlockMen's avatar BlockMen
Browse files

Fix mainmenu game initialisation

parent 5e54bf14
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,11 @@ local function init_globals()
menudata.worldlist:add_sort_mechanism("alphabetic",sort_worlds_alphabetic)
menudata.worldlist:set_sortmode("alphabetic")
if not core.setting_get("menu_last_game") then
local default_game = core.setting_get("default_game") or "minetest"
core.setting_set("menu_last_game", default_game )
end
mm_texture.init()
--create main tabview
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment