diff options
Diffstat (limited to 'Gamestates/Menu.lua')
-rw-r--r-- | Gamestates/Menu.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Gamestates/Menu.lua b/Gamestates/Menu.lua index 37e69a4..7a7b32c 100644 --- a/Gamestates/Menu.lua +++ b/Gamestates/Menu.lua @@ -46,6 +46,11 @@ function Menu:enter() Gui.core.style.color.active.bg[2] = 24 Gui.core.style.color.active.bg[3] = 24 -- End + Menu.Music = love.audio.newSource("Resources/BlueMind.ogg") + Menu.Music:setLooping(true) + if Mute == false then + Menu.Music:play() + end end function Menu:update(dt) @@ -62,4 +67,6 @@ function Menu:draw() Gui.core.draw() end + + return Menu |