Don't force load asset on asset clone if it's unused

This commit is contained in:
Wojtek Figat
2025-07-14 18:14:09 +02:00
parent c27a9808c4
commit a1e4ed05c4

View File

@@ -1003,7 +1003,7 @@ bool Content::CloneAssetFile(const StringView& dstPath, const StringView& srcPat
FileSystem::DeleteFile(tmpPath);
// Reload storage
if (auto storage = ContentStorageManager::GetStorage(dstPath))
if (auto storage = ContentStorageManager::GetStorage(dstPath, false))
{
storage->Reload();
}