switch off delay setting

This commit is contained in:
BuckarooBanzay
2020-01-16 16:03:36 +01:00
parent 7466fd150a
commit 0edc72e35d
2 changed files with 2 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ minetest.register_abm({
end
})
local off_delay_seconds = 300
local off_delay_seconds = tonumber(minetest.settings:get("technic.switch.off_delay_seconds") or "300")
local timer = 0
minetest.register_globalstep(function(dtime)