From 7b6b79493ce2bc85a1caec6f1e8c36be40b4789a Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 12 Dec 2017 18:42:26 +0100 Subject: [PATCH] Replace @ with new lines in legacy map briefing sections --- OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs b/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs index a92a9fad18..192366b368 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs @@ -133,7 +133,10 @@ namespace OpenRA.Mods.Common.UtilityCommands var briefing = new StringBuilder(); foreach (var s in briefingSection) - briefing.AppendLine(s.Value); + { + var line = s.Value.Replace("@", "\n"); + briefing.AppendLine(line); + } if (briefing.Length == 0) return;