diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-08-05 13:19:16 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-08-10 13:35:38 +0200 |
commit | 0d60bc55e4373167141f0f08a10a2174cc7e029a (patch) | |
tree | 416edc0cbd11e6ccfbf7daa510b12592437a64af /builtin | |
parent | 35c5ccfad34417e37ecb76bfb2995e47142b272e (diff) | |
download | minetest-0d60bc55e4373167141f0f08a10a2174cc7e029a.tar.gz minetest-0d60bc55e4373167141f0f08a10a2174cc7e029a.tar.bz2 minetest-0d60bc55e4373167141f0f08a10a2174cc7e029a.zip |
Dont download modstore info if its isnt needed
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/modmgr.lua | 1 | ||||
-rw-r--r-- | builtin/modstore.lua | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/builtin/modmgr.lua b/builtin/modmgr.lua index 20128737a..e7f028f6e 100644 --- a/builtin/modmgr.lua +++ b/builtin/modmgr.lua @@ -551,6 +551,7 @@ function modmgr.handle_modmgr_buttons(fields) end if fields["btn_mod_mgr_download"] ~= nil then + modstore.update_modlist() retval.current_tab = "dialog_modstore_unsorted" retval.is_dialog = true retval.show_buttons = false diff --git a/builtin/modstore.lua b/builtin/modstore.lua index 870eccdd3..6d761d47c 100644 --- a/builtin/modstore.lua +++ b/builtin/modstore.lua @@ -32,7 +32,6 @@ function modstore.init() modstore.basetexturedir = engine.get_gamepath() .. DIR_DELIM .. ".." .. DIR_DELIM .. "textures" .. DIR_DELIM .. "base" .. DIR_DELIM .. "pack" .. DIR_DELIM - modstore.update_modlist() modstore.current_list = nil |