From: kpoppel Date: Fri, 5 Jul 2013 22:22:12 +0000 (+0200) Subject: Forgot to reset demand on power failure. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=4c6546ed56da9b8ac7db490af841d11ef9a10368;p=zefram%2Fminetest%2Ftechnic.git Forgot to reset demand on power failure. --- diff --git a/technic/power_radiator.lua b/technic/power_radiator.lua index 4e248b1..86a770e 100644 --- a/technic/power_radiator.lua +++ b/technic/power_radiator.lua @@ -163,6 +163,7 @@ minetest.register_abm( -- meta:set_int("active",1) -- used for setting textures someday maybe shutdown_inductive_appliances(pos) meta:set_int("connected_EU_demand", 0) + meta:set_int("MV_EU_demand",1) elseif eu_input == eu_demand then -- Powered and ready