Use emphemeral sounds

master
Wuzzy 2020-04-06 00:00:47 +02:00
parent b4363e9c1e
commit fb8f0e4e36
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ function dice2.throw(pos, node, clicker, itemstack, pointed_thing)
Dont worry, the probability is still 1/6 for each facing direction. ]]
newnode.param2 = math.random(0,23)
minetest.swap_node(pos,newnode)
minetest.sound_play( {name="dice2_dice_throw", gain=1 }, {pos=pos, loop=false})
minetest.sound_play( {name="dice2_dice_throw", gain=1 }, {pos=pos, loop=false}, false)
return itemstack
end