restore music at startup

This commit is contained in:
Eduardo Bart 2012-07-09 14:53:05 -03:00
parent a1644cad29
commit 2c5fdc88d1
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ function Client.init()
addEvent(function()
scheduleEvent(function()
-- Play startup music (The Silver Tree, by Mattias Westlund)
--g_sounds.playMusic("startup.ogg", 3)
g_sounds.playMusic("startup.ogg", 3)
connect(g_game, { onGameStart = function() g_sounds.stopMusic(3) end })
connect(g_game, { onGameEnd= function() g_sounds.playMusic("startup.ogg", 3) end })
end, 100)