Skip to content

Commit 0d60bc5

Browse files
committedAug 10, 2013
Dont download modstore info if its isnt needed
1 parent 35c5ccf commit 0d60bc5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
 

‎builtin/modmgr.lua

+1
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ function modmgr.handle_modmgr_buttons(fields)
551551
end
552552

553553
if fields["btn_mod_mgr_download"] ~= nil then
554+
modstore.update_modlist()
554555
retval.current_tab = "dialog_modstore_unsorted"
555556
retval.is_dialog = true
556557
retval.show_buttons = false

‎builtin/modstore.lua

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ function modstore.init()
3232
modstore.basetexturedir = engine.get_gamepath() .. DIR_DELIM .. ".." ..
3333
DIR_DELIM .. "textures" .. DIR_DELIM .. "base" ..
3434
DIR_DELIM .. "pack" .. DIR_DELIM
35-
modstore.update_modlist()
3635

3736
modstore.current_list = nil
3837

0 commit comments

Comments
 (0)
Please sign in to comment.