summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2015-10-04 12:21:35 +0200
committerJeija <norrepli@gmail.com>2015-10-04 12:21:35 +0200
commit0e7f68ea92b272d3cca0a1544691cab8d05a08d9 (patch)
treef0f8ee517619075ba56537089fff78b36da9971f
parent6ef3b965dffcc7fe95a793a2fb059cf20b9316ad (diff)
downloadmesecons-0e7f68ea92b272d3cca0a1544691cab8d05a08d9.tar
mesecons-0e7f68ea92b272d3cca0a1544691cab8d05a08d9.tar.gz
mesecons-0e7f68ea92b272d3cca0a1544691cab8d05a08d9.tar.bz2
mesecons-0e7f68ea92b272d3cca0a1544691cab8d05a08d9.tar.xz
mesecons-0e7f68ea92b272d3cca0a1544691cab8d05a08d9.zip
Doors: Use new sound name (fixes #236)
-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