Make jukeboxes play music to players within 64 nodes on start
parent
1b4d9cfab7
commit
fb895ce17c
|
@ -105,7 +105,8 @@ local function play_record(pos, itemstack, player)
|
|||
end
|
||||
active_tracks[cname] = minetest.sound_play(mcl_jukebox.registered_records[name][5], {
|
||||
to_player = cname,
|
||||
gain = 1,
|
||||
pos = pos,
|
||||
max_hear_distance = 64,
|
||||
})
|
||||
now_playing(player, name)
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue