浏览代码

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
Brian Roberts 1 年之前
父节点
当前提交
58403bc9e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Engine/source/console/simObject.cpp

+ 1 - 1
Engine/source/console/simObject.cpp

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