forked from mtcontrib/homedecor_modpack
fix positioning of homedecor doorbell sound
This commit is contained in:
parent
b733c4c5b3
commit
5405b71a05
@ -1117,6 +1117,7 @@ minetest.register_node("homedecor:doorbell", {
|
|||||||
},
|
},
|
||||||
on_punch = function(pos, node, puncher, pointed_thing)
|
on_punch = function(pos, node, puncher, pointed_thing)
|
||||||
minetest.sound_play("homedecor_doorbell", {
|
minetest.sound_play("homedecor_doorbell", {
|
||||||
|
pos = pos,
|
||||||
gain = 1.0,
|
gain = 1.0,
|
||||||
max_hear_distance = 15
|
max_hear_distance = 15
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user