summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarter Kolwey <fhrfuyduduf@gmail.com>2014-01-10 21:57:16 -0600
committerShadowNinja <shadowninja@minetest.net>2014-01-11 12:30:10 -0500
commitebc114df71cc20868afbd3c6dea4039dc14c1a0e (patch)
tree5aa8f523170d89f73c7a92971072e49c84a24697
parentdc324816dbaa0afa50e76514280cbf60abfaf03c (diff)
Fixed music player
-rw-r--r--technic/machines/LV/music_player.lua2
1 files changed, 1 insertions, 1 deletions
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