Fix crash with supply converter

This commit is contained in:
Novatux 2014-07-12 18:22:52 +02:00
parent 1c617f2c5e
commit 1af6313c69

View File

@ -25,7 +25,6 @@ local run = function(pos, node)
local to = technic.get_cable_tier(name_down) local to = technic.get_cable_tier(name_down)
if from and to then if from and to then
technic.switching_station_timeout_count(pos, from)
local input = meta:get_int(from.."_EU_input") local input = meta:get_int(from.."_EU_input")
meta:set_int(from.."_EU_demand", demand) meta:set_int(from.."_EU_demand", demand)
meta:set_int(from.."_EU_supply", 0) meta:set_int(from.."_EU_supply", 0)