Fixed prefab assets
This commit is contained in:
@@ -34,6 +34,7 @@ void PrefabLoader::updateSync() {
|
||||
assertNotNull(this->jsonLoader, "JSON Loader is NULL?");
|
||||
if(!this->jsonLoader->loaded) return;
|
||||
this->state = PrefabLoaderState::LOADING_DEPENDENCIES;
|
||||
this->setupDependencies();
|
||||
break;
|
||||
|
||||
case PrefabLoaderState::LOADING_DEPENDENCIES:
|
||||
@@ -46,8 +47,6 @@ void PrefabLoader::updateSync() {
|
||||
|
||||
this->state = PrefabLoaderState::DEPENDENCIES_LOADED;
|
||||
this->loaded = true;
|
||||
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user