|
|
|
@ -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)
|
|
|
|
|