aboutsummaryrefslogtreecommitdiffstats
path: root/Gamestates/Solo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Gamestates/Solo.lua')
-rw-r--r--Gamestates/Solo.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/Gamestates/Solo.lua b/Gamestates/Solo.lua
index 7cd85da..3e19152 100644
--- a/Gamestates/Solo.lua
+++ b/Gamestates/Solo.lua
@@ -26,9 +26,11 @@ function Solo:enter() -- Initialize or reset variables when entering game
Solo:resize() -- Call the function filling the canvas
- Solo.Music = love.audio.newSource("Resources/BlueMind.ogg")
+ Solo.Music = Menu.Music
Solo.Music:setLooping(true)
- Solo.Music:play()
+ if Mute == false then
+ Solo.Music:rewind()
+ end
end
function Solo:resize() -- Called in :enter() and when the window is resized