From d6334f6cca5dceb111f2ca47d4283c3b2447a6bf Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Thu, 16 Jan 2025 15:35:39 -0600 Subject: [PATCH] spline objects were mis-saving in submis files classes using AbstractClassRep::FIELD_SpecialtyArrayField use an explicit-writing mechanism, rather than tying things to a variable 'slot', so don't try and concaenate the two --- Engine/source/console/persistenceManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Engine/source/console/persistenceManager.cpp b/Engine/source/console/persistenceManager.cpp index 0cb6671c4..9e0acbaf4 100644 --- a/Engine/source/console/persistenceManager.cpp +++ b/Engine/source/console/persistenceManager.cpp @@ -1541,6 +1541,10 @@ void PersistenceManager::updateObject(SimObject* object, ParsedObject* parentObj newLines.push_back(createNewProperty(f->pFieldname, cmdBuf, f->elementCount > 1, j)); } + else if (f->flag.test(AbstractClassRep::FIELD_SpecialtyArrayField)) + { + newLines.push_back(value); + } else newLines.push_back(createNewProperty(f->pFieldname, value, f->elementCount > 1, j)); }