Tim
2015-01-30 56e96b2593817eb77fcb51e4a81c80f4df6bb0c7
technic/machines/supply_converter.lua
@@ -35,7 +35,12 @@
         ..input * remain.." "..to..")")
   else
      meta:set_string("infotext", S("%s Has Bad Cabling"):format(machine_name))
      meta:set_int(to.."_EU_supply", 0)
      if to then
         meta:set_int(to.."_EU_supply", 0)
      end
      if from then
         meta:set_int(from.."_EU_demand", 0)
      end
      return
   end
@@ -55,7 +60,7 @@
      fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
   },
   on_construct = function(pos)
      local meta = minetest.env:get_meta(pos)
      local meta = minetest.get_meta(pos)
      meta:set_string("infotext", S("Supply Converter"))
      meta:set_float("active", false)
   end,