Skip to content

Commit 0e7f68e

Browse files
committedOct 4, 2015
Doors: Use new sound name (fixes #236)
1 parent 6ef3b96 commit 0e7f68e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎mesecons_doors/init.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ local function on_rightclick(pos, dir, check_name, replace, replace_dir, params)
1313
minetest.swap_node(pos, {name = replace, param2 = p2})
1414

1515
if (minetest.get_meta(pos):get_int("right") ~= 0) == (params[1] ~= 3) then
16-
minetest.sound_play("door_close", {pos = pos, gain = 0.3, max_hear_distance = 10})
16+
minetest.sound_play("doors_door_close", {pos = pos, gain = 0.3, max_hear_distance = 10})
1717
else
18-
minetest.sound_play("door_open", {pos = pos, gain = 0.3, max_hear_distance = 10})
18+
minetest.sound_play("doors_door_open", {pos = pos, gain = 0.3, max_hear_distance = 10})
1919
end
2020
end
2121

0 commit comments

Comments
 (0)
Please sign in to comment.