aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src/screens/UScreenSong.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Lua/src/screens/UScreenSong.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lua/src/screens/UScreenSong.pas b/Lua/src/screens/UScreenSong.pas
index 716f4053..5bc42a68 100644
--- a/Lua/src/screens/UScreenSong.pas
+++ b/Lua/src/screens/UScreenSong.pas
@@ -1529,8 +1529,8 @@ end;
procedure TScreenSong.OnHide;
begin
- // if preview is not loaded: load musicfile now
- if (PreviewOpened <> Interaction) then
+ // if preview is not loaded: load musicfile now; not on cat-main!
+ if (PreviewOpened <> Interaction) and not CatSongs.Song[Interaction].main then
AudioPlayback.Open(CatSongs.Song[Interaction].Path.Append(CatSongs.Song[Interaction].Mp3));
// turn music volume to 100%