fix formatting of failed missions

This commit is contained in:
Florian Stinglmayr 2022-02-18 13:41:17 +01:00
parent 9795b22e02
commit 87377c086b
2 changed files with 2 additions and 4 deletions

View File

@ -66,7 +66,7 @@ namespace EliteBGS.BGS {
foreach (LogFormatter formatter in formatters) { foreach (LogFormatter formatter in formatters) {
string text = formatter.GenerateLog(objective); string text = formatter.GenerateLog(objective);
if (!string.IsNullOrEmpty(text)) { if (!string.IsNullOrEmpty(text)) {
objlog.AppendFormat("{0}\n", text); objlog.AppendFormat("{0}\n", text.Trim());
} }
} }

View File

@ -21,9 +21,7 @@ namespace EliteBGS.BGS.LogGenerator {
); );
} }
builder.Append("\n"); return builder.ToString().Trim();
return builder.ToString();
} }
} }
} }