Don't do the other stuff when coming out of demonstration prematurely,

either.
This commit is contained in:
Glenn Maynard
2002-11-15 23:26:32 +00:00
parent 5b88710c7b
commit 8327fcbc4e
+3 -1
View File
@@ -1139,8 +1139,10 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
if( GAMESTATE->m_bDemonstration ) // Don't show "CLEARED" in Demo if( GAMESTATE->m_bDemonstration ) // Don't show "CLEARED" in Demo
{ {
this->SendScreenMessage( SM_BeginFadingToTitleMenu, 0 ); this->SendScreenMessage( SM_BeginFadingToTitleMenu, 0 );
return;
} }
// save any statistics
// save any statistics
for( int p=0; p<NUM_PLAYERS; p++ ) for( int p=0; p<NUM_PLAYERS; p++ )
{ {
if( GAMESTATE->IsPlayerEnabled(p) ) if( GAMESTATE->IsPlayerEnabled(p) )