Make sounds ephemeral (#521)

The handles were never used anyway
This commit is contained in:
Vitaliy
2020-08-01 16:10:14 +03:00
committed by GitHub
parent 01332a7ba1
commit c1eccba247
8 changed files with 16 additions and 24 deletions

View File

@ -22,7 +22,7 @@ mesecon.register_node("mesecons_walllever:wall_lever", {
else
mesecon.receptor_off(pos, mesecon.rules.buttonlike_get(node))
end
minetest.sound_play("mesecons_lever", {pos=pos})
minetest.sound_play("mesecons_lever", { pos = pos }, true)
end
},{
tiles = {