summaryrefslogtreecommitdiffhomepage
path: root/config/menus
diff options
context:
space:
mode:
Diffstat (limited to 'config/menus')
-rw-r--r--config/menus/main.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/menus/main.lua b/config/menus/main.lua
index 95e44ec..ae2cef2 100644
--- a/config/menus/main.lua
+++ b/config/menus/main.lua
@@ -14,8 +14,10 @@ if background == nil or not background:is(require "not.MenuBackground") then
end
-- Wait, only here?
-musicPlayer:setTrack("menu.ogg")
-musicPlayer:play()
+if musicPlayer:getCurrentTrack() ~= "menu.ogg" then
+ musicPlayer:setTrack("menu.ogg")
+ musicPlayer:play()
+end
return {
background,