Fixed music player

This commit is contained in:
Carter Kolwey 2014-01-10 21:57:16 -06:00
parent dc324816db
commit a8d31f2b8f

View File

@ -32,7 +32,7 @@ local music_player_formspec =
"label[4,0;Current track --]" "label[4,0;Current track --]"
local function play_track(pos, 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,}) {pos = pos, gain = 1.0, loop = true, max_hear_distance = 72,})
end end