unknown system is better than no system

This commit is contained in:
Florian Stinglmayr 2022-11-25 14:39:45 +01:00
parent a49859b079
commit 5f9fff3922

View File

@ -77,6 +77,8 @@ public class Objective : IComparable<Objective> {
StringBuilder str = new StringBuilder();
if (!string.IsNullOrEmpty(System)) {
str.AppendFormat("System: {0}", System);
} else {
str.AppendFormat("System: Unknown");
}
if (!string.IsNullOrEmpty(Faction)) {
if (str.Length > 0) {