2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-22 21:02:07 +00:00

Fix: technqiues weren't opened with the proper file path.

This commit is contained in:
LJW-Dev
2025-07-07 23:54:41 +08:00
parent aae112d37e
commit 0a520b442f

View File

@@ -21,7 +21,7 @@ namespace
AssetCreationResult CreateAsset(const std::string& assetName, AssetCreationContext& context) override
{
const auto fileName = std::format("techniquesets/{}.json", assetName);
const auto file = m_search_path.Open(assetName);
const auto file = m_search_path.Open(fileName);
if (!file.IsOpen())
return AssetCreationResult::NoAction();