diff options
author | tenplus1 <kinsellaja@yahoo.com> | 2015-04-10 16:09:52 +0100 |
---|---|---|
committer | tenplus1 <kinsellaja@yahoo.com> | 2015-04-10 16:09:52 +0100 |
commit | ec90718c5831da00bb3cac1613724dcd6330c719 (patch) | |
tree | ebb99c38aa7b00ad67bd1ad85597ef6d1873a27e | |
parent | 7d5b162ae9c7942bc21725bd310b46ebe8e4e4a2 (diff) |
fixed gate open/close sounds
-rw-r--r-- | gates.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |