summaryrefslogtreecommitdiff
path: root/technic/machines/LV
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-09 14:11:34 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-09 14:11:34 -0400
commitc4ea0a8dd17ee1cbe678c3be811724d9e59747ba (patch)
tree7addd9ec196ce0500d4ad06bd929242cdb5a472d /technic/machines/LV
parentba82b24aadbbff1b60daf90232dd9bb1c0ab8caa (diff)
downloaddreambuilder_modpack-c4ea0a8dd17ee1cbe678c3be811724d9e59747ba.tar
dreambuilder_modpack-c4ea0a8dd17ee1cbe678c3be811724d9e59747ba.tar.gz
dreambuilder_modpack-c4ea0a8dd17ee1cbe678c3be811724d9e59747ba.tar.bz2
dreambuilder_modpack-c4ea0a8dd17ee1cbe678c3be811724d9e59747ba.tar.xz
dreambuilder_modpack-c4ea0a8dd17ee1cbe678c3be811724d9e59747ba.zip
update technic
Diffstat (limited to 'technic/machines/LV')
-rw-r--r--technic/machines/LV/water_mill.lua4
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 @@ 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.."%)")