summaryrefslogtreecommitdiff
path: root/technic/machines
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-02-26 15:16:59 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-02-26 15:16:59 -0500
commitb86bcff7b7eed1f6644198ac0ff1bc39470789cb (patch)
treed0894e10d23466a5983340d5498ee3d71ede5199 /technic/machines
parent98f0dd7dd0c02a86bfd5e34271d3d169538b5442 (diff)
downloaddreambuilder_modpack-b86bcff7b7eed1f6644198ac0ff1bc39470789cb.tar
dreambuilder_modpack-b86bcff7b7eed1f6644198ac0ff1bc39470789cb.tar.gz
dreambuilder_modpack-b86bcff7b7eed1f6644198ac0ff1bc39470789cb.tar.bz2
dreambuilder_modpack-b86bcff7b7eed1f6644198ac0ff1bc39470789cb.tar.xz
dreambuilder_modpack-b86bcff7b7eed1f6644198ac0ff1bc39470789cb.zip
update technic
Diffstat (limited to 'technic/machines')
-rw-r--r--technic/machines/LV/water_mill.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/machines/LV/water_mill.lua b/technic/machines/LV/water_mill.lua
index ad461fb..56b3abd 100644
--- a/technic/machines/LV/water_mill.lua
+++ b/technic/machines/LV/water_mill.lua
@@ -47,7 +47,7 @@ local run = function(pos, node)
end
end
- eu_supply = 50 * water_flow
+ eu_supply = math.min(50 * water_flow, max_output)
production_level = math.floor(100 * eu_supply / max_output)
if production_level > 0 then