fix LifeDifficulty OnCommand plays twice
This commit is contained in:
@@ -85,7 +85,6 @@ ScreenTitleMenu::ScreenTitleMenu( CString sScreenName ) :
|
|||||||
|
|
||||||
m_textLifeDifficulty.LoadFromFont( THEME->GetPathF(m_sName,"LifeDifficulty") );
|
m_textLifeDifficulty.LoadFromFont( THEME->GetPathF(m_sName,"LifeDifficulty") );
|
||||||
m_textLifeDifficulty.SetName( "LifeDifficulty" );
|
m_textLifeDifficulty.SetName( "LifeDifficulty" );
|
||||||
ON_COMMAND( m_textLifeDifficulty );
|
|
||||||
int iLifeDifficulty;
|
int iLifeDifficulty;
|
||||||
LifeDifficulty( iLifeDifficulty, true, NULL );
|
LifeDifficulty( iLifeDifficulty, true, NULL );
|
||||||
iLifeDifficulty++; // LifeDifficulty returns an index
|
iLifeDifficulty++; // LifeDifficulty returns an index
|
||||||
|
|||||||
Reference in New Issue
Block a user