mirror of
https://github.com/minetest/minetest.git
synced 2024-11-26 17:43:45 +01:00
Remove debug output
This commit is contained in:
parent
60225be7fa
commit
e7ba4777fe
@ -1081,14 +1081,12 @@ end
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
function menu.update_gametype(reset)
|
||||
print("updating gametype: " .. dump(reset))
|
||||
if reset then
|
||||
mm_texture.reset()
|
||||
engine.set_topleft_text("")
|
||||
filterlist.set_filtercriteria(worldlist,nil)
|
||||
else
|
||||
local game = menu.lastgame()
|
||||
print("current_game = " .. dump(game))
|
||||
mm_texture.update(tabbuilder.current_tab,game)
|
||||
engine.set_topleft_text(game.name)
|
||||
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") ..
|
||||
moddetails.download_url
|
||||
local modfilename = os.tempfolder() .. ".zip"
|
||||
print("Downloading mod from: " .. fullurl .. " to ".. modfilename)
|
||||
|
||||
if engine.download_file(fullurl,modfilename) then
|
||||
|
||||
@ -218,7 +217,6 @@ function modstore.getmodlist(list)
|
||||
if list.data[i].texturename == nil then
|
||||
local fullurl = engine.setting_get("modstore_download_url") ..
|
||||
details.screenshot_url
|
||||
print("downloading screenshot: " .. fullurl)
|
||||
local filename = os.tempfolder()
|
||||
|
||||
if engine.download_file(fullurl,filename) then
|
||||
|
Loading…
Reference in New Issue
Block a user