Skip to content

Commit

Permalink
Dont download modstore info if its isnt needed
Browse files Browse the repository at this point in the history
  • Loading branch information
PilzAdam committed Aug 10, 2013
1 parent 35c5ccf commit 0d60bc5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions builtin/modmgr.lua
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion builtin/modstore.lua
Expand Up @@ -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

Expand Down

0 comments on commit 0d60bc5

Please sign in to comment.