From 3c47f229fcbdb7cad28bacbc579516bf3ecf6c03 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Sun, 19 Aug 2018 20:28:44 -0400 Subject: drop usesdirt, update gloopblocks, led_marquee and technic --- technic/machines/switching_station.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'technic/machines/switching_station.lua') diff --git a/technic/machines/switching_station.lua b/technic/machines/switching_station.lua index d645847..2d96b9b 100644 --- a/technic/machines/switching_station.lua +++ b/technic/machines/switching_station.lua @@ -88,6 +88,13 @@ minetest.register_node("technic:switching_station",{ }, }) +if technic.config:get_bool("enable_creative_mode") then + --Power distribution is not used in this mode, + --so the switching station is inert and none of the + --network processing is needed. + return +end + -------------------------------------------------- -- Functions to traverse the electrical network -------------------------------------------------- -- cgit v1.2.3