diff options
author | number Zero <silverunicorn2011@yandex.ru> | 2017-03-15 23:23:24 +0300 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-15 19:00:22 -0400 |
commit | 7d5329834dd749eca2bcc5d07c5cc016bd743a38 (patch) | |
tree | be87385fb6602ef8abcacbefa2fb05ae21a66405 | |
parent | ae7625d9f7b1ed1e55d6a980680805802b0d5e16 (diff) |
Fix supply converter bug
-rw-r--r-- | technic/machines/supply_converter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/machines/supply_converter.lua b/technic/machines/supply_converter.lua index 15c761d..cddd5e4 100644 --- a/technic/machines/supply_converter.lua +++ b/technic/machines/supply_converter.lua @@ -64,7 +64,7 @@ local run = function(pos, node) local machine_name = S("Supply Converter") local meta = minetest.get_meta(pos) local enabled = meta:get_int("enabled") ~= 0 and (meta:get_int("mesecon_mode") == 0 or meta:get_int("mesecon_effect") ~= 0) - local demand = enabled and meta:get_int("power") or 10000 + local demand = enabled and meta:get_int("power") or 0 local pos_up = {x=pos.x, y=pos.y+1, z=pos.z} local pos_down = {x=pos.x, y=pos.y-1, z=pos.z} |