14 lines
461 B
Lua
14 lines
461 B
Lua
local mod_start_time = core.get_us_time()
|
|
core.log("action", "[MOD] hidden_doors loading")
|
|
|
|
hidden_doors = {}
|
|
|
|
local modpath = core.get_modpath("hidden_doors")
|
|
dofile(modpath .. "/api.lua")
|
|
|
|
if minetest.settings:get_bool("hidden_doors.make_registrations", true) then
|
|
dofile(modpath .. "/registrations.lua")
|
|
end
|
|
|
|
local mod_end_time = (core.get_us_time() - mod_start_time) / 1000000
|
|
core.log("action", "[MOD] hidden_doors loaded in [" .. mod_end_time .. "s]") |