diff options
author | Novatux <nathanael.courant@laposte.net> | 2014-12-30 12:10:36 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2014-12-30 12:10:36 +0100 |
commit | 4ac36e9d274ef9976dbc4245dd700e813b8f3b53 (patch) | |
tree | bd12cb00084da264f09de97d0bab920f55e0ed92 | |
parent | 5382a88aefbd503c00500236510412e6f2b42f4e (diff) |
Fix infinite energy with supply converter
-rw-r--r-- | technic/machines/switching_station.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/machines/switching_station.lua b/technic/machines/switching_station.lua index 5517917..33dff2b 100644 --- a/technic/machines/switching_station.lua +++ b/technic/machines/switching_station.lua @@ -371,7 +371,7 @@ local function switching_station_timeout_count(pos, tier) local meta = minetest.get_meta(pos) local timeout = meta:get_int(tier.."_EU_timeout") if timeout <= 0 then - --meta:set_int(tier.."_EU_input", 0) -- Not needed anymore + meta:set_int(tier.."_EU_input", 0) -- Not needed anymore <-- actually, it is for supply converter return true else meta:set_int(tier.."_EU_timeout", timeout - 1) |