Adding timer for look how many time need for load
This commit is contained in:
parent
c6c2607e23
commit
15256967eb
17 changed files with 272 additions and 37 deletions
|
@ -1,6 +1,7 @@
|
|||
--
|
||||
-- Helper functions
|
||||
--
|
||||
local init = os.clock()
|
||||
|
||||
local function is_water(pos)
|
||||
local nn = minetest.get_node(pos).name
|
||||
|
@ -173,4 +174,5 @@ minetest.register_craft({
|
|||
},
|
||||
})
|
||||
|
||||
minetest.debug("[boat] Mod loaded")
|
||||
local time_to_load= os.clock() - init
|
||||
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue