Skip to content

Commit

Permalink
Fix cultural pillar parameters not being outputted
Browse files Browse the repository at this point in the history
  • Loading branch information
IhateTrains committed Jan 19, 2025
1 parent 4bfabb8 commit 18cca46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ImperatorToCK3/CK3/Cultures/Pillar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ public string Serialize(string indent, bool withBraces) {
if (Color is not null) {
sb.Append(contentIndent).AppendLine($"color={Color}");
}
if (parameters.Count > 0) {
sb.Append(contentIndent).Append("parameters=")
.AppendLine(PDXSerializer.Serialize(parameters, indent: contentIndent, withBraces: true));
}
sb.AppendLine(PDXSerializer.Serialize(Attributes, indent: contentIndent, withBraces: false));

if (withBraces) {
Expand Down

0 comments on commit 18cca46

Please sign in to comment.