fix influence 10 due to wrong call to GetInfluenceForFaction

This commit is contained in:
2022-01-29 10:42:08 +01:00
parent 9fc8b02898
commit dd9b558b3c
3 changed files with 397 additions and 1 deletions

View File

@@ -20,7 +20,15 @@ namespace EliteBGS.BGS {
}
public string Influence {
get { return (Entries[0] as MissionCompletedEntry).GetInfluenceForFaction(Faction); }
get {
MissionCompletedEntry e = (Entries[0] as MissionCompletedEntry);
if (SystemAddress == 0) {
return e.GetInfluenceForFaction(Faction);
} else {
return e.GetInfluenceForFaction(Faction, SystemAddress);
}
}
}
public override string ToString() {