aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenSong.pas
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-13 14:09:10 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-13 14:09:10 +0000
commitbbec4bdd80154e4a29cb56cd94fded55ac5d5efb (patch)
treefffedd30ea7cbf831d22d70c4005e441baf71de3 /src/screens/UScreenSong.pas
parent667a4f92bdd283249e4d7e525eeb7e7c665d1d17 (diff)
downloadusdx-bbec4bdd80154e4a29cb56cd94fded55ac5d5efb.tar.gz
usdx-bbec4bdd80154e4a29cb56cd94fded55ac5d5efb.tar.xz
usdx-bbec4bdd80154e4a29cb56cd94fded55ac5d5efb.zip
now the Audio-file bug should be fixed
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2031 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/screens/UScreenSong.pas')
-rw-r--r--src/screens/UScreenSong.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/UScreenSong.pas b/src/screens/UScreenSong.pas
index e43e2196..a2760ae3 100644
--- a/src/screens/UScreenSong.pas
+++ b/src/screens/UScreenSong.pas
@@ -1547,8 +1547,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%