From 61fd6d78444e101dafb8497177a953e6356485f4 Mon Sep 17 00:00:00 2001 From: number Zero Date: Wed, 15 Mar 2017 23:23:24 +0300 Subject: [PATCH] Fix supply converter bug --- technic/machines/supply_converter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/machines/supply_converter.lua b/technic/machines/supply_converter.lua index 0582380..c6a7ae9 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}