Fix problem with supply converter producing energy
authorNovatux <nathanael.courant@laposte.net>
Sun, 13 Jul 2014 12:15:10 +0000 (14:15 +0200)
committerNovatux <nathanael.courant@laposte.net>
Sun, 13 Jul 2014 12:15:10 +0000 (14:15 +0200)
technic/machines/supply_converter.lua

index 9b1daf9245d84e4495be873e16f2207ccff10c04..ccfb9b0b52d6f1fa3fd0c62454f135816cd26f7b 100644 (file)
@@ -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