mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-02 15:07:26 +00:00
Fix not supporting nullptr scriptstrings
This commit is contained in:
@@ -17,7 +17,7 @@ scr_string_t AssetWriter::UseScriptString(const scr_string_t scrString) const
|
||||
if (m_asset->m_zone == m_zone)
|
||||
return scrString;
|
||||
|
||||
const auto strValue = m_asset->m_zone->m_script_strings[scrString];
|
||||
const auto strValue = m_asset->m_zone->m_script_strings.CValue(scrString);
|
||||
return m_zone->m_script_strings.GetScriptString(strValue);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user