Merge pull request #1113 from Areloch/TamlPrefixedArrayFields

Adjusts the logic for when creating a simObject from a taml to handle array'd prefix field's values
This commit is contained in:
Brian Roberts 2023-10-20 18:44:14 -05:00 committed by GitHub
commit 58403bc9e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -560,7 +560,7 @@ void SimObject::onTamlCustomRead(TamlCustomNodes const& customNodes)
// Check common fields.
if (field)
{
setDataField(fieldName, buf, cField->getFieldValue());
setPrefixedDataField(fieldName, buf, cField->getFieldValue());
}
else
{