mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-17 23:05:07 -05:00
Fix mainmenu game initialisation
This commit is contained in:
parent
5e54bf1472
commit
e9e9e42573
@ -84,6 +84,11 @@ local function init_globals()
|
|||||||
menudata.worldlist:add_sort_mechanism("alphabetic",sort_worlds_alphabetic)
|
menudata.worldlist:add_sort_mechanism("alphabetic",sort_worlds_alphabetic)
|
||||||
menudata.worldlist:set_sortmode("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()
|
mm_texture.init()
|
||||||
|
|
||||||
--create main tabview
|
--create main tabview
|
||||||
|
Loading…
Reference in New Issue
Block a user