aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/screens/UScreenCredits.pas5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/screens/UScreenCredits.pas b/src/screens/UScreenCredits.pas
index b1333b4a..a428cb15 100644
--- a/src/screens/UScreenCredits.pas
+++ b/src/screens/UScreenCredits.pas
@@ -251,6 +251,9 @@ procedure TScreenCredits.OnShow;
begin
inherited;
+ // pause background music
+ SoundLib.PauseBgMusic;
+
CRDTS_Stage := InitialDelay;
Credits_X := 580;
deluxe_slidein := 0;
@@ -265,6 +268,8 @@ end;
procedure TScreenCredits.OnHide;
begin
AudioPlayback.Stop;
+
+ SoundLib.StartBgMusic;
end;
Procedure TScreenCredits.Draw_FunkyText;