fix wireless digging doesn't disable mesecons at pos

This commit is contained in:
HybridDog 2015-09-10 21:52:49 +02:00
parent 680e21af42
commit 39fd6136e5

View File

@ -69,6 +69,7 @@ minetest.register_node("moremesecons_wireless:wireless", {
table.remove(wireless, RID) table.remove(wireless, RID)
vector.remove_data_from_pos(wireless_rids, pos.z,pos.y,pos.x) vector.remove_data_from_pos(wireless_rids, pos.z,pos.y,pos.x)
end end
mesecon.receptor_off(pos)
end, end,
on_receive_fields = function(pos, formname, fields, sender) on_receive_fields = function(pos, formname, fields, sender)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)