try to fix toilet sound positioning
这个提交包含在:
@@ -64,7 +64,11 @@ minetest.register_node("homedecor:toilet_open", {
|
|||||||
on_punch = function (pos, node, puncher)
|
on_punch = function (pos, node, puncher)
|
||||||
node.name = "homedecor:toilet"
|
node.name = "homedecor:toilet"
|
||||||
minetest.set_node(pos, node)
|
minetest.set_node(pos, node)
|
||||||
minetest.sound_play("homedecor_toilet_flush",{pos=pos, max_hear_distance=5,})
|
minetest.sound_play("homedecor_toilet_flush", {
|
||||||
|
pos=pos,
|
||||||
|
max_hear_distance = 5,
|
||||||
|
gain = 1,
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
在新工单中引用
屏蔽一个用户