From b7a68f74cb7528b53e9e8fdc8cbb019d3b17d2a9 Mon Sep 17 00:00:00 2001 From: Alexander Ried Date: Thu, 16 Jul 2020 00:24:49 +0200 Subject: [PATCH] fix: touch disabled switching stations Otherwise the "switching station reenable abm" (see file switchting_station.lua) will reenable the disabled switching station at its next run. --- technic/machines/switching_station.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/technic/machines/switching_station.lua b/technic/machines/switching_station.lua index 7cd6bad..d7be45a 100644 --- a/technic/machines/switching_station.lua +++ b/technic/machines/switching_station.lua @@ -192,6 +192,7 @@ local get_network = function(sw_pos, pos1, tier) local meta = minetest.get_meta(pos) meta:set_int("active", 0) meta:set_string("active_pos", minetest.serialize(sw_pos)) + meta:set_int(tier.."_EU_timeout", 2) -- Touch node end return cached.PR_nodes, cached.BA_nodes, cached.RE_nodes end