Forgot to reset demand on power failure.
authorkpoppel <poulsen.kim@gmail.com>
Fri, 5 Jul 2013 22:22:12 +0000 (00:22 +0200)
committerkpoppel <poulsen.kim@gmail.com>
Fri, 5 Jul 2013 22:22:12 +0000 (00:22 +0200)
technic/power_radiator.lua

index 4e248b1bcdb28374f969cbe260864e79766fe782..86a770e842049f20e935f72b25b166019ae60b2e 100644 (file)
@@ -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