mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-01 22:47:26 +00:00
chore: do not consider not finding global asset a failure
This commit is contained in:
@@ -17,7 +17,7 @@ public:
|
|||||||
auto* existingAsset = GlobalAssetPool<typename AssetType::Type>::GetAssetByName(assetName);
|
auto* existingAsset = GlobalAssetPool<typename AssetType::Type>::GetAssetByName(assetName);
|
||||||
|
|
||||||
if (!existingAsset)
|
if (!existingAsset)
|
||||||
return AssetCreationResult::Failure();
|
return AssetCreationResult::NoAction();
|
||||||
|
|
||||||
AssetRegistration<AssetType> registration(assetName, existingAsset->Asset());
|
AssetRegistration<AssetType> registration(assetName, existingAsset->Asset());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user