Forgot to reset demand on power failure.

This commit is contained in:
kpoppel 2013-07-06 00:22:12 +02:00
parent ab38e29a18
commit 4c6546ed56
1 changed files with 1 additions and 0 deletions

View 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