fix a bug with secondary objectives

This commit is contained in:
Florian Stinglmayr 2022-01-29 10:48:49 +01:00
parent dd9b558b3c
commit e7a1656d2a

View File

@ -146,7 +146,6 @@ namespace EliteBGS.BGS {
"\" was generated, please report this.");
}
if (completed.Influences.Count > 1) {
foreach (var other in completed.Influences) {
string faction = other.Key;
if (string.IsNullOrEmpty(faction)) {
@ -167,7 +166,6 @@ namespace EliteBGS.BGS {
}
}
}
}
} else if (e.Is(Events.MissionAccepted)) {
MissionAcceptedEntry accepted = e as MissionAcceptedEntry;
acceptedMissions[accepted.MissionID] = accepted;