Remove debug output
parent
60225be7fa
commit
e7ba4777fe
|
@ -1081,14 +1081,12 @@ end
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
function menu.update_gametype(reset)
|
function menu.update_gametype(reset)
|
||||||
print("updating gametype: " .. dump(reset))
|
|
||||||
if reset then
|
if reset then
|
||||||
mm_texture.reset()
|
mm_texture.reset()
|
||||||
engine.set_topleft_text("")
|
engine.set_topleft_text("")
|
||||||
filterlist.set_filtercriteria(worldlist,nil)
|
filterlist.set_filtercriteria(worldlist,nil)
|
||||||
else
|
else
|
||||||
local game = menu.lastgame()
|
local game = menu.lastgame()
|
||||||
print("current_game = " .. dump(game))
|
|
||||||
mm_texture.update(tabbuilder.current_tab,game)
|
mm_texture.update(tabbuilder.current_tab,game)
|
||||||
engine.set_topleft_text(game.name)
|
engine.set_topleft_text(game.name)
|
||||||
filterlist.set_filtercriteria(worldlist,game.id)
|
filterlist.set_filtercriteria(worldlist,game.id)
|
||||||
|
|
|
@ -143,7 +143,6 @@ function modstore.handle_buttons(current_tab,fields)
|
||||||
local fullurl = engine.setting_get("modstore_download_url") ..
|
local fullurl = engine.setting_get("modstore_download_url") ..
|
||||||
moddetails.download_url
|
moddetails.download_url
|
||||||
local modfilename = os.tempfolder() .. ".zip"
|
local modfilename = os.tempfolder() .. ".zip"
|
||||||
print("Downloading mod from: " .. fullurl .. " to ".. modfilename)
|
|
||||||
|
|
||||||
if engine.download_file(fullurl,modfilename) then
|
if engine.download_file(fullurl,modfilename) then
|
||||||
|
|
||||||
|
@ -218,7 +217,6 @@ function modstore.getmodlist(list)
|
||||||
if list.data[i].texturename == nil then
|
if list.data[i].texturename == nil then
|
||||||
local fullurl = engine.setting_get("modstore_download_url") ..
|
local fullurl = engine.setting_get("modstore_download_url") ..
|
||||||
details.screenshot_url
|
details.screenshot_url
|
||||||
print("downloading screenshot: " .. fullurl)
|
|
||||||
local filename = os.tempfolder()
|
local filename = os.tempfolder()
|
||||||
|
|
||||||
if engine.download_file(fullurl,filename) then
|
if engine.download_file(fullurl,filename) then
|
||||||
|
|
Loading…
Reference in New Issue