From 6281dc744dc3951234931a9f44c3bdd353f79df7 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 27 Oct 2017 15:13:31 -0400 Subject: updated boost cart, homedecor modpack, castles modpack, currency, farming-redo, maptools, mesecons, moreblocks, moreores, pipeworks, quartz --- farming/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'farming/init.lua') diff --git a/farming/init.lua b/farming/init.lua index 3f026fb..8c615f7 100644 --- a/farming/init.lua +++ b/farming/init.lua @@ -7,6 +7,7 @@ farming = {} farming.mod = "redo" +farming.version = "1.29" farming.path = minetest.get_modpath("farming") farming.select = { type = "fixed", @@ -29,7 +30,7 @@ farming.intllib = S -- Utility Function -local time_speed = tonumber(minetest.setting_get("time_speed")) or 72 +local time_speed = tonumber(minetest.settings:get("time_speed")) or 72 local SECS_PER_CYCLE = (time_speed > 0 and 24 * 60 * 60 / time_speed) or 0 local function clamp(x, min, max) return (x < min and min) or (x > max and max) or x -- cgit v1.2.3