fix bug with failed missions

This commit is contained in:
Florian Stinglmayr 2022-12-28 10:43:45 +01:00
parent 2fae724bd2
commit 0b47b7331e

View File

@ -36,10 +36,6 @@ public class MissionFailed : Transaction {
return -1;
}
public int Amount {
get { return Entries.Count + 1; }
}
public override string ToString() {
StringBuilder builder = new StringBuilder();
@ -47,8 +43,7 @@ public class MissionFailed : Transaction {
return "";
}
builder.AppendFormat("{0}x Mission failed: \"{1}\"",
Amount,
builder.AppendFormat(" Mission failed: \"{0}\"",
Mission?.FriendlyName
);