diff options
author | Jeija <norrepli@gmail.com> | 2015-10-04 12:21:35 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2015-10-04 12:21:35 +0200 |
commit | 0e7f68ea92b272d3cca0a1544691cab8d05a08d9 (patch) | |
tree | f0f8ee517619075ba56537089fff78b36da9971f | |
parent | 6ef3b965dffcc7fe95a793a2fb059cf20b9316ad (diff) | |
download | mesecons-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.lua | 4 |
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 |