diff --git a/EliteBGS/LogGenerator/FailedMissionFormat.cs b/EliteBGS/LogGenerator/FailedMissionFormat.cs index 8dccf02..601cf96 100644 --- a/EliteBGS/LogGenerator/FailedMissionFormat.cs +++ b/EliteBGS/LogGenerator/FailedMissionFormat.cs @@ -43,12 +43,13 @@ public class FailedMissionFormat : LogFormatter { int onFootFails = missions.Where(x => x.Mission.IsOnFoot).Count(); int shipFails = missions.Where(x => !x.Mission.IsOnFoot).Count(); + sb.Append("Fails: "); if (onFootFails > 0) { - sb.AppendFormat("Fails: {0} Ground", onFootFails); + sb.AppendFormat("{0} Ground", onFootFails); } if (shipFails > 0) { - if (sb.Length> 0) { + if (onFootFails > 0) { sb.Append(", "); } sb.AppendFormat("{0} Ship", shipFails);