mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +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);
|
||||
|
||||
if (!existingAsset)
|
||||
return AssetCreationResult::Failure();
|
||||
return AssetCreationResult::NoAction();
|
||||
|
||||
AssetRegistration<AssetType> registration(assetName, existingAsset->Asset());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user