diff options
Diffstat (limited to 'Gamestates/Multiplayer')
-rw-r--r-- | Gamestates/Multiplayer/InGame.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Gamestates/Multiplayer/InGame.lua b/Gamestates/Multiplayer/InGame.lua index f94be12..20bf6c4 100644 --- a/Gamestates/Multiplayer/InGame.lua +++ b/Gamestates/Multiplayer/InGame.lua @@ -34,9 +34,11 @@ function InGame:enter(Local) -- Initialize or reset variables when entering game InGame:resize() -- Call the function filling the canvas InGame.Musiclowlife = love.audio.newSource("Resources/BlueMind midlife.ogg") - InGame.Music = love.audio.newSource("Resources/BlueMind.ogg") + InGame.Music = Menu.Music InGame.Music:setLooping(true) - InGame.Music:play() + if Mute == false then + InGame.Music:rewind() + end end function InGame:resize() -- Called in :enter() and when the window is resized |