1
0
mirror of https://github.com/HybridDog/connected_chests.git synced 2024-12-26 21:30:18 +01:00

automatic update

This commit is contained in:
HybridDog 2015-03-21 20:19:32 +01:00
parent 7bc92c6d12
commit 2e0548ebc5

View File

@ -256,4 +256,10 @@ for _,i in pairs({"chest", "chest_locked"}) do
})
end
print(string.format("[connected_chest] loaded after ca. %.2fs", os.clock() - load_time_start))
local time = math.floor(tonumber(os.clock()-load_time_start)*100+0.5)/100
local msg = "[] loaded after ca. "..time
if time > 0.05 then
print(msg)
else
minetest.log("info", msg)
end