fix bug with failed missions
This commit is contained in:
parent
2fae724bd2
commit
0b47b7331e
@ -36,10 +36,6 @@ public class MissionFailed : Transaction {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int Amount {
|
|
||||||
get { return Entries.Count + 1; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
StringBuilder builder = new StringBuilder();
|
StringBuilder builder = new StringBuilder();
|
||||||
|
|
||||||
@ -47,8 +43,7 @@ public class MissionFailed : Transaction {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.AppendFormat("{0}x Mission failed: \"{1}\"",
|
builder.AppendFormat(" Mission failed: \"{0}\"",
|
||||||
Amount,
|
|
||||||
Mission?.FriendlyName
|
Mission?.FriendlyName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user