From ebc114df71cc20868afbd3c6dea4039dc14c1a0e Mon Sep 17 00:00:00 2001 From: Carter Kolwey Date: Fri, 10 Jan 2014 21:57:16 -0600 Subject: [PATCH] Fixed music player --- technic/machines/LV/music_player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/machines/LV/music_player.lua b/technic/machines/LV/music_player.lua index d4ba4fe..fde83b7 100644 --- a/technic/machines/LV/music_player.lua +++ b/technic/machines/LV/music_player.lua @@ -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 -- 2.30.2