From 1cdfffd6a798dd8b4d6ba5f5c513fd60bbd60dcc Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 4 Oct 2005 07:43:42 +0000 Subject: [PATCH] Let's be explicit: Demonstration should act like an attract screen. (This usually happens to work without this, because the previous attract screen will set it, and won't unset it since that's done in input.) --- stepmania/src/ScreenDemonstration.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/ScreenDemonstration.cpp b/stepmania/src/ScreenDemonstration.cpp index cbe7b42dc8..774796f0ed 100644 --- a/stepmania/src/ScreenDemonstration.cpp +++ b/stepmania/src/ScreenDemonstration.cpp @@ -21,6 +21,7 @@ ScreenDemonstration::ScreenDemonstration( CString sName ) : ScreenJukebox( sName { LOG->Trace( "ScreenDemonstration::ScreenDemonstration()" ); m_bDemonstration = true; + SOUNDMAN->SetPlayOnlyCriticalSounds( GAMESTATE->IsTimeToPlayAttractSounds() ); // mute attract sounds } void ScreenDemonstration::Init()