summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons_doors/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_doors/init.lua b/mesecons_doors/init.lua
index dca8b4d..7346128 100644
--- a/mesecons_doors/init.lua
+++ b/mesecons_doors/init.lua
@@ -13,9 +13,9 @@ local function on_rightclick(pos, dir, check_name, replace, replace_dir, params)
minetest.swap_node(pos, {name = replace, param2 = p2})
if (minetest.get_meta(pos):get_int("right") ~= 0) == (params[1] ~= 3) 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})
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})
end
end