From ec90718c5831da00bb3cac1613724dcd6330c719 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Fri, 10 Apr 2015 16:09:52 +0100 Subject: fixed gate open/close sounds --- gates.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gates.lua') diff --git a/gates.lua b/gates.lua index ecd8238..1a20ae5 100644 --- a/gates.lua +++ b/gates.lua @@ -21,10 +21,10 @@ function gate_rightclick(pos, node) local open = data[2] if open == "open" then - minetest.sound_play("door_close", {pos=pos, gain = 0.3, max_hear_distance = 10}) + minetest.sound_play("doors_door_close", {pos=pos, gain = 0.3, max_hear_distance = 10}) minetest.set_node(pos, {name=gate.."closed", param2=node.param2}) else - minetest.sound_play("door_open", {pos=pos, gain = 0.3, max_hear_distance = 10}) + minetest.sound_play("doors_door_open", {pos=pos, gain = 0.3, max_hear_distance = 10}) minetest.set_node(pos, {name=gate.."open", param2=node.param2}) end end -- cgit v1.2.3