mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-01-09 10:11:49 +00:00
fix: do not try to add indirect asset references without name
This commit is contained in:
@@ -78,8 +78,5 @@ std::optional<scr_string_t> AssetInfoCollector::Visit_ScriptString(scr_string_t
|
||||
|
||||
void AssetInfoCollector::Visit_IndirectAssetRef(asset_type_t assetType, const char* assetName)
|
||||
{
|
||||
if (!assetName || !assetName[0])
|
||||
return;
|
||||
|
||||
m_indirect_asset_references.emplace(assetType, assetName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user