fix influence 10 due to wrong call to GetInfluenceForFaction
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user