Skip to content
Snippets Groups Projects
Commit 0d60bc55 authored by PilzAdam's avatar PilzAdam
Browse files

Dont download modstore info if its isnt needed

parent 35c5ccfa
No related branches found
No related tags found
No related merge requests found
...@@ -551,6 +551,7 @@ function modmgr.handle_modmgr_buttons(fields) ...@@ -551,6 +551,7 @@ function modmgr.handle_modmgr_buttons(fields)
end end
if fields["btn_mod_mgr_download"] ~= nil then if fields["btn_mod_mgr_download"] ~= nil then
modstore.update_modlist()
retval.current_tab = "dialog_modstore_unsorted" retval.current_tab = "dialog_modstore_unsorted"
retval.is_dialog = true retval.is_dialog = true
retval.show_buttons = false retval.show_buttons = false
......
...@@ -32,7 +32,6 @@ function modstore.init() ...@@ -32,7 +32,6 @@ function modstore.init()
modstore.basetexturedir = engine.get_gamepath() .. DIR_DELIM .. ".." .. modstore.basetexturedir = engine.get_gamepath() .. DIR_DELIM .. ".." ..
DIR_DELIM .. "textures" .. DIR_DELIM .. "base" .. DIR_DELIM .. "textures" .. DIR_DELIM .. "base" ..
DIR_DELIM .. "pack" .. DIR_DELIM DIR_DELIM .. "pack" .. DIR_DELIM
modstore.update_modlist()
modstore.current_list = nil modstore.current_list = nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment