Play 'place' sound when placing painting

This commit is contained in:
Wuzzy 2023-06-30 10:15:46 +02:00
parent b03158bde6
commit f32beb38e6

View File

@ -538,6 +538,9 @@ xdecor.register("painting_1", {
itemstack:take_item()
end
-- Play 'place' sound manually
minetest.sound_play(default.node_sound_wood_defaults().place, {pos=pointed_thing.above}, true)
return itemstack
end,
sounds = default.node_sound_wood_defaults(),