Fix mvps receptor_off issue (#627)

This commit is contained in:
Jude Melton-Houghton
2022-12-07 07:15:23 -05:00
committed by GitHub
parent c10ce2dbc5
commit 60240ba268
3 changed files with 7 additions and 5 deletions

View File

@ -99,7 +99,6 @@ mesecon.queue:add_function("receptor_off", function (pos, rules)
local rulenames = mesecon.rules_link_rule_all(pos, rule)
for _, rulename in ipairs(rulenames) do
mesecon.vm_begin()
mesecon.changesignal(np, minetest.get_node(np), rulename, mesecon.state.off, 2)
-- Turnoff returns true if turnoff process was successful, no onstate receptor
-- was found along the way. Commit changes that were made in voxelmanip. If turnoff