From 193a60e3c9198546d8c00fbc8482f3f66e3d390c Mon Sep 17 00:00:00 2001 From: Maksim Gamarnik Date: Sat, 16 Apr 2016 13:35:47 +0300 Subject: [PATCH] Fix --- builtin/mainmenu/init.lua | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/builtin/mainmenu/init.lua b/builtin/mainmenu/init.lua index bdfce04c..5c9477d2 100644 --- a/builtin/mainmenu/init.lua +++ b/builtin/mainmenu/init.lua @@ -35,18 +35,16 @@ dofile(basepath .. DIR_DELIM .. "fstk" .. DIR_DELIM .. "tabview.lua") dofile(basepath .. DIR_DELIM .. "fstk" .. DIR_DELIM .. "ui.lua") dofile(menupath .. DIR_DELIM .. "common.lua") dofile(menupath .. DIR_DELIM .. "gamemgr.lua") -if PLATFORM ~= "Android" then - dofile(menupath .. DIR_DELIM .. "modmgr.lua") - dofile(menupath .. DIR_DELIM .. "store.lua") -end +dofile(menupath .. DIR_DELIM .. "textures.lua") dofile(menupath .. DIR_DELIM .. "dlg_create_world.lua") --dofile(menupath .. DIR_DELIM .. "dlg_delete_mod.lua") dofile(menupath .. DIR_DELIM .. "dlg_delete_world.lua") --dofile(menupath .. DIR_DELIM .. "dlg_rename_modpack.lua") dofile(menupath .. DIR_DELIM .. "dlg_config_world.lua") if PLATFORM ~= "Android" then + dofile(menupath .. DIR_DELIM .. "modmgr.lua") + dofile(menupath .. DIR_DELIM .. "store.lua") dofile(menupath .. DIR_DELIM .. "dlg_settings_advanced.lua") - dofile(menupath .. DIR_DELIM .. "textures.lua") end local tabs = {} @@ -120,11 +118,12 @@ local function init_globals() tv_main:show() -- Create modstore ui - if PLATFORM == "Android" then - modstore.init({x = 12, y = 6}, 3, 2) else - modstore.init({x = 12, y = 8}, 4, 3) - end + --if PLATFORM == "Android" then + -- modstore.init({x = 12, y = 6}, 3, 2) + --else + -- modstore.init({x = 12, y = 8}, 4, 3) + --end ui.update()