forked from MineClone5/MineClone5
Make jukebox sound 3d and play on all clients
This commit is contained in:
parent
0b6420c9f5
commit
5476bf2eaf
|
@ -104,8 +104,8 @@ local function play_record(pos, itemstack, player)
|
|||
active_tracks[cname] = nil
|
||||
end
|
||||
active_tracks[cname] = minetest.sound_play(mcl_jukebox.registered_records[name][5], {
|
||||
to_player = cname,
|
||||
gain = 1,
|
||||
pos = pos
|
||||
})
|
||||
now_playing(player, name)
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue