mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-11-23 05:12:05 +00:00
Fix: technqiues weren't opened with the proper file path.
This commit is contained in:
@@ -21,7 +21,7 @@ namespace
|
|||||||
AssetCreationResult CreateAsset(const std::string& assetName, AssetCreationContext& context) override
|
AssetCreationResult CreateAsset(const std::string& assetName, AssetCreationContext& context) override
|
||||||
{
|
{
|
||||||
const auto fileName = std::format("techniquesets/{}.json", assetName);
|
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())
|
if (!file.IsOpen())
|
||||||
return AssetCreationResult::NoAction();
|
return AssetCreationResult::NoAction();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user