don't ignore new system factions
If a factions expands or retreats into a system we see, we won't pick it up if we remain with old data.
This commit is contained in:
parent
8f9f4f3e35
commit
b005edc27f
@ -66,8 +66,7 @@ internal class LocationParser : ITransactionParserPart {
|
||||
context.StationOwner = null;
|
||||
}
|
||||
|
||||
if (!context.SystemFactions.ContainsKey(entry.StarSystem) &&
|
||||
entry.SystemFactions != null && entry.SystemFactions.Count > 0) {
|
||||
if (entry.SystemFactions != null && entry.SystemFactions.Count > 0) {
|
||||
context.SystemFactions[entry.StarSystem] = entry.SystemFactions;
|
||||
}
|
||||
}
|
||||
@ -101,8 +100,7 @@ internal class FSDJumpParser : ITransactionParserPart {
|
||||
context.ControllingFaction = entry.SystemFaction;
|
||||
}
|
||||
|
||||
if (!context.SystemFactions.ContainsKey(entry.StarSystem) &&
|
||||
entry.SystemFactions != null && entry.SystemFactions.Count > 0) {
|
||||
if (entry.SystemFactions != null && entry.SystemFactions.Count > 0) {
|
||||
context.SystemFactions[entry.StarSystem] = entry.SystemFactions;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user