Skip to content

Commit

Permalink
load editable data after xml data so display names are set from there
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jul 20, 2018
1 parent 48b5517 commit c06e17a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,8 +837,6 @@ ProfileLoadResult Profile::LoadAllFromDir( const RString &sDir, bool bRequireSig
InitAll();

LoadTypeFromDir(sDir);
// Not critical if this fails
LoadEditableDataFromDir( sDir );
DBProf.SetLoadingProfile(this);
XMLProf.SetLoadingProfile(this);
ProfileLoadResult ret = XMLProf.LoadEttFromDir(sDir);
Expand All @@ -851,6 +849,8 @@ ProfileLoadResult Profile::LoadAllFromDir( const RString &sDir, bool bRequireSig
IsEtternaProfile = true;
ImportScoresToEtterna();
}
// Not critical if this fails
LoadEditableDataFromDir(sDir);

// move old profile specific replays to the new aggregate folder
RString oldreplaydir = sDir + "ReplayData/";
Expand Down

0 comments on commit c06e17a

Please sign in to comment.