Skip to content

Commit

Permalink
fix: imported materials being moved to the wrong location in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverlan committed Dec 4, 2024
1 parent e0b0d2e commit 981535d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/client/src/c_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ bool CEngine::Initialize(int argc, char *argv[])

// Initialize Client Instance
auto matManager = msys::CMaterialManager::Create(GetRenderContext());
matManager->SetImportDirectory("addons/converted/materials");
matManager->SetImportDirectory("addons/converted/");
InitializeAssetManager(*matManager);
pragma::asset::update_extension_cache(pragma::asset::Type::Material);

Expand Down
2 changes: 1 addition & 1 deletion core/shared/src/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ bool Engine::Initialize(int argc, char *argv[])

// Initialize Server Instance
auto matManager = msys::MaterialManager::Create();
matManager->SetImportDirectory("addons/converted/materials");
matManager->SetImportDirectory("addons/converted/");
InitializeAssetManager(*matManager);

pragma::asset::update_extension_cache(pragma::asset::Type::Map);
Expand Down

0 comments on commit 981535d

Please sign in to comment.