From b89eee3b6828cadc6fa704e27ec3dc1e76358e39 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Mon, 29 Apr 2019 20:57:00 +0200 Subject: [PATCH] sw fix --- technic/machines/switching_station.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/technic/machines/switching_station.lua b/technic/machines/switching_station.lua index 718d622..9b41e37 100644 --- a/technic/machines/switching_station.lua +++ b/technic/machines/switching_station.lua @@ -4,6 +4,8 @@ technic.networks = {} technic.cables = {} technic.redundant_warn = {} +local switch_max_range = tonumber(minetest.settings:get("technic.switch_max_range") or "64") + local mesecons_path = minetest.get_modpath("mesecons") local digilines_path = minetest.get_modpath("digilines")