mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
Dont download modstore info if its isnt needed
This commit is contained in:
parent
35c5ccfad3
commit
0d60bc55e4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user