From c1eccba24760e0b80666dd8d1e56b5fe7f3a5b28 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Sat, 1 Aug 2020 16:10:14 +0300 Subject: Make sounds ephemeral (#521) The handles were never used anyway --- mesecons_switch/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesecons_switch') diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua index 7f42253..ba766d4 100644 --- a/mesecons_switch/init.lua +++ b/mesecons_switch/init.lua @@ -11,7 +11,7 @@ mesecon.register_node("mesecons_switch:mesecon_switch", { else mesecon.receptor_off(pos) end - minetest.sound_play("mesecons_switch", {pos=pos}) + minetest.sound_play("mesecons_switch", { pos = pos }, true) end },{ groups = {dig_immediate=2}, -- cgit v1.2.3