don't pause memory cards in demonstration
This commit is contained in:
@@ -99,7 +99,8 @@ void ScreenGameplay::Init()
|
||||
|
||||
/* Pause MEMCARDMAN. If a memory card is remove, we don't want to interrupt the
|
||||
* player by making a noise until the game finishes. */
|
||||
MEMCARDMAN->PauseMountingThread();
|
||||
if( !GAMESTATE->m_bDemonstrationOrJukebox )
|
||||
MEMCARDMAN->PauseMountingThread();
|
||||
|
||||
if( GAMESTATE->m_bDemonstrationOrJukebox )
|
||||
LIGHTSMAN->SetLightsMode( LIGHTSMODE_DEMONSTRATION );
|
||||
@@ -784,7 +785,8 @@ ScreenGameplay::~ScreenGameplay()
|
||||
|
||||
LOG->Trace( "ScreenGameplay::~ScreenGameplay()" );
|
||||
|
||||
MEMCARDMAN->UnPauseMountingThread();
|
||||
if( !GAMESTATE->m_bDemonstrationOrJukebox )
|
||||
MEMCARDMAN->UnPauseMountingThread();
|
||||
|
||||
FOREACH_PlayerNumber(p)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user