1
0
Fork 0

Compare commits

...

1 Commits

Author SHA1 Message Date
PrairieWind fb895ce17c Make jukeboxes play music to players within 64 nodes on start 2023-04-06 15:45:20 -06:00
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@ local function play_record(pos, itemstack, player)
end end
active_tracks[cname] = minetest.sound_play(mcl_jukebox.registered_records[name][5], { active_tracks[cname] = minetest.sound_play(mcl_jukebox.registered_records[name][5], {
to_player = cname, to_player = cname,
gain = 1, pos = pos,
max_hear_distance = 64,
}) })
now_playing(player, name) now_playing(player, name)
return true return true