Fixed prefab assets

This commit is contained in:
2024-12-02 20:10:44 -06:00
parent e660fade95
commit 7989be5fe7
7 changed files with 10 additions and 13 deletions

View File

@@ -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: