Don't special case IsEditing. If you don't want a menu timer on a screen,
set TimerSeconds=-1.
This commit is contained in:
@@ -236,7 +236,7 @@ void ScreenWithMenuElements::ResetTimer()
|
|||||||
if( m_MenuTimer == NULL )
|
if( m_MenuTimer == NULL )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if( TIMER_SECONDS > 0.0f && (PREFSMAN->m_bMenuTimer || FORCE_TIMER) && !GAMESTATE->IsEditing() )
|
if( TIMER_SECONDS > 0.0f && (PREFSMAN->m_bMenuTimer || FORCE_TIMER) )
|
||||||
{
|
{
|
||||||
m_MenuTimer->SetSeconds( TIMER_SECONDS );
|
m_MenuTimer->SetSeconds( TIMER_SECONDS );
|
||||||
m_MenuTimer->Start();
|
m_MenuTimer->Start();
|
||||||
|
|||||||
Reference in New Issue
Block a user