소스 검색

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.
                   if (field)
                   {
-                     setDataField(fieldName, buf, cField->getFieldValue());
+                     setPrefixedDataField(fieldName, buf, cField->getFieldValue());
                   }
                   else
                   {