mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-10 12:30:27 +01:00
Fixed music player
This commit is contained in:
parent
dc324816db
commit
a8d31f2b8f
|
@ -32,7 +32,7 @@ local music_player_formspec =
|
|||
"label[4,0;Current track --]"
|
||||
|
||||
local function play_track(pos, track)
|
||||
return minetest.sound_play("technic_track"..track,
|
||||
return minetest.sound_play("technic_track"..tostring(track),
|
||||
{pos = pos, gain = 1.0, loop = true, max_hear_distance = 72,})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user