Skip to content
Permalink
Browse files

Dont download modstore info if its isnt needed

  • Loading branch information
PilzAdam committed Aug 10, 2013
1 parent 35c5ccf commit 0d60bc55e4373167141f0f08a10a2174cc7e029a
Showing with 1 addition and 1 deletion.
  1. +1 −0 builtin/modmgr.lua
  2. +0 −1 builtin/modstore.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
@@ -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

0 comments on commit 0d60bc5

Please sign in to comment.