allow IdleTimeoutSeconds in CoinMode_Pay (remove special case)
This commit is contained in:
@@ -83,10 +83,7 @@ void ScreenSelect::Update( float fDelta )
|
|||||||
SOUND->PlayOnceFromAnnouncer( m_sName+" IdleComment" );
|
SOUND->PlayOnceFromAnnouncer( m_sName+" IdleComment" );
|
||||||
m_timerIdleComment.GetDeltaTime();
|
m_timerIdleComment.GetDeltaTime();
|
||||||
}
|
}
|
||||||
// don't time out on this screen is coin mode is pay.
|
|
||||||
// If we're here, then there's a credit in the machine.
|
|
||||||
if( GAMESTATE->GetCoinMode() != CoinMode_Pay )
|
|
||||||
{
|
|
||||||
if( IDLE_TIMEOUT_SECONDS > 0 && m_timerIdleTimeout.PeekDeltaTime() >= IDLE_TIMEOUT_SECONDS )
|
if( IDLE_TIMEOUT_SECONDS > 0 && m_timerIdleTimeout.PeekDeltaTime() >= IDLE_TIMEOUT_SECONDS )
|
||||||
{
|
{
|
||||||
SCREENMAN->SetNewScreen( IDLE_TIMEOUT_SCREEN );
|
SCREENMAN->SetNewScreen( IDLE_TIMEOUT_SCREEN );
|
||||||
@@ -94,7 +91,6 @@ void ScreenSelect::Update( float fDelta )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ScreenWithMenuElements::Update( fDelta );
|
ScreenWithMenuElements::Update( fDelta );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user