update technic

This commit is contained in:
Vanessa Ezekowitz 2017-04-09 14:11:34 -04:00
parent ba82b24aad
commit c4ea0a8dd1

View File

@ -50,9 +50,7 @@ local run = function(pos, node)
eu_supply = math.min(35 * water_flow, max_output)
production_level = math.floor(100 * eu_supply / max_output)
if production_level > 0 then
meta:set_int("LV_EU_supply", eu_supply)
end
meta:set_int("LV_EU_supply", eu_supply)
meta:set_string("infotext",
S("Hydro %s Generator"):format("LV").." ("..production_level.."%)")