From 72c536c04eb98aae29e983acd761bc94d7d26ca9 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz <vanessaezekowitz@gmail.com> Date: Sun, 09 Apr 2017 20:07:50 +0200 Subject: [PATCH] always set the EU level don't wait for production = 0. --- technic/machines/LV/water_mill.lua | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/technic/machines/LV/water_mill.lua b/technic/machines/LV/water_mill.lua index acb778c..d291332 100644 --- a/technic/machines/LV/water_mill.lua +++ b/technic/machines/LV/water_mill.lua @@ -50,9 +50,7 @@ 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.."%)") -- Gitblit v1.8.0