GAMEMAN->GetStepsTypeInfo -> GameManager::GetStepsTypeInfo to allow Lua to call before GameManager singleton is initialized
This commit is contained in:
@@ -186,7 +186,7 @@ float ScreenRanking::SetPage( const PageToShow &pts )
|
||||
// init page
|
||||
//
|
||||
StepsType st = pts.aTypes.front().second;
|
||||
m_textStepsType.SetText( GAMEMAN->GetStepsTypeInfo(st).GetLocalizedString() );
|
||||
m_textStepsType.SetText( GameManager::GetStepsTypeInfo(st).GetLocalizedString() );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user