We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48883d8 commit 5bab8c0Copy full SHA for 5bab8c0
System/DataModule.cpp
@@ -96,7 +96,18 @@ namespace RTE {
96
} else if (propName == "Author") {
97
reader >> m_Author;
98
} else if (propName == "Description") {
99
- reader >> m_Description;
+ std::string descriptionValue = reader.ReadPropValue();
100
+ if (descriptionValue == "MultiLineText") {
101
+ m_Description.clear();
102
+ while (reader.NextProperty() && reader.ReadPropName() == "AddLine") {
103
+ m_Description += reader.ReadPropValue() + "\n\n";
104
+ }
105
+ if (!m_Description.empty()) {
106
+ m_Description.resize(m_Description.size() - 2);
107
108
+ } else {
109
+ m_Description = descriptionValue;
110
111
} else if (propName == "IsFaction") {
112
reader >> m_IsFaction;
113
} else if (propName == "Version") {
0 commit comments