Erwan
- Fixed language loading (previously broken with primitives code)
This commit is contained in:
@@ -353,7 +353,10 @@ void GameStateMenu::Update(float dt)
|
||||
subMenuController->Update(dt);
|
||||
break;
|
||||
case MENU_STATE_MAJOR_LOADING_CARDS :
|
||||
if (primitivesLoadCounter == -1) listPrimitives();
|
||||
if (primitivesLoadCounter == -1){
|
||||
listPrimitives();
|
||||
Translator::GetInstance()->init();
|
||||
}
|
||||
if (primitivesLoadCounter < (int)(primitives.size())){
|
||||
mParent->collection->load(primitives[primitivesLoadCounter].c_str() );
|
||||
primitivesLoadCounter++;
|
||||
@@ -364,7 +367,6 @@ void GameStateMenu::Update(float dt)
|
||||
mParent->collection->load(mCurrentSetFileName, mCurrentSetName);
|
||||
}else{
|
||||
mReadConf = 1;
|
||||
Translator::GetInstance()->init();
|
||||
}
|
||||
if (!nextDirectory(RESPATH"/sets/","_cards.dat")){
|
||||
//Remove temporary translations
|
||||
|
||||
Reference in New Issue
Block a user