diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-08-19 20:28:44 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-08-19 20:28:44 -0400 |
commit | 3c47f229fcbdb7cad28bacbc579516bf3ecf6c03 (patch) | |
tree | 375b0d50956914c61132a0d34489f627dfa2f814 /technic/machines/switching_station.lua | |
parent | 16373a6c19c04ee82757831c5bbefe416abf900b (diff) | |
download | dreambuilder_modpack-3c47f229fcbdb7cad28bacbc579516bf3ecf6c03.tar dreambuilder_modpack-3c47f229fcbdb7cad28bacbc579516bf3ecf6c03.tar.gz dreambuilder_modpack-3c47f229fcbdb7cad28bacbc579516bf3ecf6c03.tar.bz2 dreambuilder_modpack-3c47f229fcbdb7cad28bacbc579516bf3ecf6c03.tar.xz dreambuilder_modpack-3c47f229fcbdb7cad28bacbc579516bf3ecf6c03.zip |
drop usesdirt, update gloopblocks, led_marquee and technic
Diffstat (limited to 'technic/machines/switching_station.lua')
-rw-r--r-- | technic/machines/switching_station.lua | 7 |
1 files changed, 7 insertions, 0 deletions
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 -------------------------------------------------- |