forked from minetest-mods/technic
Forgot to reset demand on power failure.
This commit is contained in:
parent
ab38e29a18
commit
4c6546ed56
@ -163,6 +163,7 @@ minetest.register_abm(
|
|||||||
-- meta:set_int("active",1) -- used for setting textures someday maybe
|
-- meta:set_int("active",1) -- used for setting textures someday maybe
|
||||||
shutdown_inductive_appliances(pos)
|
shutdown_inductive_appliances(pos)
|
||||||
meta:set_int("connected_EU_demand", 0)
|
meta:set_int("connected_EU_demand", 0)
|
||||||
|
meta:set_int("MV_EU_demand",1)
|
||||||
elseif eu_input == eu_demand then
|
elseif eu_input == eu_demand then
|
||||||
-- Powered and ready
|
-- Powered and ready
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user