Changed order of init in asset manager to init all loaders first before building directory to avoid crash

This commit is contained in:
Xiao Qi 2023-01-07 21:13:59 +08:00
parent 73a1aaa480
commit ae024e9757
1 changed files with 1 additions and 1 deletions

View File

@ -492,8 +492,8 @@ namespace SHADE
****************************************************************************/
void SHAssetManager::Load() noexcept
{
BuildAssetCollection();
InitLoaders();
BuildAssetCollection();
//CompileAll();
//LoadAllData();
}