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_movestones/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesecons_movestones') diff --git a/mesecons_movestones/init.lua b/mesecons_movestones/init.lua index cc2d942..b7fb8f1 100644 --- a/mesecons_movestones/init.lua +++ b/mesecons_movestones/init.lua @@ -66,7 +66,7 @@ function mesecon.register_movestone(name, def, is_sticky, is_vertical) mesecon.on_dignode(pos, node) mesecon.on_placenode(frontpos, node) minetest.get_node_timer(frontpos):start(timer_interval) - minetest.sound_play("movestone", {pos = pos, max_hear_distance = 20, gain = 0.5,}) + minetest.sound_play("movestone", { pos = pos, max_hear_distance = 20, gain = 0.5 }, true) -- ### Step 3: If sticky, pull stack behind ### if is_sticky then -- cgit v1.2.3