From 2608aeab6fc1c513b2bc56ea4bdd6d9e2aa59a1d Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Wed, 7 Dec 2022 22:41:10 +0100 Subject: [PATCH] don't bother detecting combat zones if we don't have enough data --- EDPlayerJournal/BGS/TransactionParser.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/EDPlayerJournal/BGS/TransactionParser.cs b/EDPlayerJournal/BGS/TransactionParser.cs index a15779f..cbab466 100644 --- a/EDPlayerJournal/BGS/TransactionParser.cs +++ b/EDPlayerJournal/BGS/TransactionParser.cs @@ -77,6 +77,12 @@ internal class TransactionParserContext { ulong highest = HighestCombatBond ?? 0; string? faction = LastRecordedAwardingFaction; + if (HighestCombatBond == null && + LastRecordedAwardingFaction == null && + HaveSeenAXWarzoneNPC == false) { + return; + } + if (OnFootKills > 0) { cztype = CombatZones.GroundCombatZone; // High on foot combat zones have enforcers that bring 80k a pop