Delete old func, fix two crash and add timer
This commit is contained in:
parent
15256967eb
commit
4052da3116
3 changed files with 55 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
local init = os.clock()
|
||||
farming = {}
|
||||
|
||||
function farming:add_plant(full_grown, names, interval, chance)
|
||||
|
@ -90,4 +91,5 @@ dofile(minetest.get_modpath("farming").."/potatoes.lua")
|
|||
-- ========= MUSHROOMS =========
|
||||
dofile(minetest.get_modpath("farming").."/mushrooms.lua")
|
||||
|
||||
|
||||
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