diff --git a/EDPlayerJournal/BGS/TransactionParser.cs b/EDPlayerJournal/BGS/TransactionParser.cs index 354c845..0d9672a 100644 --- a/EDPlayerJournal/BGS/TransactionParser.cs +++ b/EDPlayerJournal/BGS/TransactionParser.cs @@ -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; } }