summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2014-07-13 14:15:10 +0200
committerNovatux <nathanael.courant@laposte.net>2014-07-13 14:15:10 +0200
commit7065ba9155b468b1e33e8cf773f217d407222e3f (patch)
treed839518ca49003a24392633e41133a6fdf48f051
parent1af6313c692e81552f95cb3dd936f55fc43a20de (diff)
Fix problem with supply converter producing energy
-rw-r--r--technic/machines/supply_converter.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/technic/machines/supply_converter.lua b/technic/machines/supply_converter.lua
index 9b1daf9..ccfb9b0 100644
--- a/technic/machines/supply_converter.lua
+++ b/technic/machines/supply_converter.lua
@@ -35,6 +35,7 @@ local run = function(pos, node)
..input * remain.." "..to..")")
else
meta:set_string("infotext", S("%s Has Bad Cabling"):format(machine_name))
+ meta:set_int(to.."_EU_supply", 0)
return
end