1
0
mirror of https://github.com/HybridDog/riesenpilz.git synced 2024-09-27 23:00:34 +02:00
This commit is contained in:
HybridDog 2015-08-05 10:35:47 +02:00
parent 42accd9276
commit f61e27bc4e

View File

@ -1070,4 +1070,10 @@ if riesenpilz.enable_mapgen then
dofile(minetest.get_modpath("riesenpilz") .. "/mapgen.lua") dofile(minetest.get_modpath("riesenpilz") .. "/mapgen.lua")
end 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