fix crash
This commit is contained in:
@@ -31,6 +31,8 @@ ScreenUnlock::ScreenUnlock( CString sClassName ) : ScreenAttract( sClassName )
|
||||
|
||||
void ScreenUnlock::Init()
|
||||
{
|
||||
ScreenAttract::Init();
|
||||
|
||||
unsigned iNumUnlocks = UNLOCKMAN->m_UnlockEntries.size();
|
||||
|
||||
if( !PREFSMAN->m_bUseUnlockSystem || iNumUnlocks == 0 )
|
||||
@@ -39,8 +41,6 @@ void ScreenUnlock::Init()
|
||||
return;
|
||||
}
|
||||
|
||||
ScreenAttract::Init();
|
||||
|
||||
unsigned NumUnlocks = UNLOCKMAN->m_UnlockEntries.size();
|
||||
|
||||
PointsUntilNextUnlock.LoadFromFont( THEME->GetPathF("Common","normal") );
|
||||
|
||||
Reference in New Issue
Block a user