Add TRUE ephemeral sounds

master
Wuzzy 2020-04-06 00:33:17 +02:00
parent f7be8e81cf
commit 1feb5bbf1e
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}, false)
minetest.sound_play( {name="dice2_dice_throw", gain=1 }, {pos=pos, loop=false}, true)
return itemstack
end