summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkpoppel <poulsen.kim@gmail.com>2013-07-06 00:22:12 +0200
committerkpoppel <poulsen.kim@gmail.com>2013-07-06 00:22:12 +0200
commit4c6546ed56da9b8ac7db490af841d11ef9a10368 (patch)
tree7a98434fff63075ebf4fd391dfe1712b162f5c52
parentab38e29a18eb27814006f697040591c5438e701a (diff)
Forgot to reset demand on power failure.
-rw-r--r--technic/power_radiator.lua1
1 files changed, 1 insertions, 0 deletions
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