mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
chore: do not consider not finding global asset a failure
This commit is contained in:
parent
ffac925410
commit
dd4f18b638
@ -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());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user