aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src/screens/UScreenSong.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Lua/src/screens/UScreenSong.pas')
-rw-r--r--Lua/src/screens/UScreenSong.pas4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lua/src/screens/UScreenSong.pas b/Lua/src/screens/UScreenSong.pas
index 3f94b6a4..716f4053 100644
--- a/Lua/src/screens/UScreenSong.pas
+++ b/Lua/src/screens/UScreenSong.pas
@@ -1715,6 +1715,10 @@ begin
if not assigned(Song) then
Exit;
+ //fix: if main cat than there is nothing to play
+ if Song.main then
+ Exit;
+
if AudioPlayback.Open(Song.Path.Append(Song.Mp3)) then
begin
PreviewOpened := Interaction;