This commit is contained in:
HybridDog 2015-08-05 10:35:47 +02:00
parent 42accd9276
commit f61e27bc4e
1 changed files with 7 additions and 1 deletions

View File

@ -1070,4 +1070,10 @@ if riesenpilz.enable_mapgen then
dofile(minetest.get_modpath("riesenpilz") .. "/mapgen.lua")
end
riesenpilz.inform("loaded", 1, load_time_start)
local time = math.floor(tonumber(os.clock()-load_time_start)*100+0.5)/100
local msg = "[riesenpilz] loaded after ca. "..time
if time > 0.05 then
print(msg)
else
minetest.log("info", msg)
end