diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a11f71..d5874ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Allow each overlay panel to be individually hidden or shown. * Trade purchase is now reported in three brackets rather than two: 🅻 | 🅼 | 🅷 +* Automatically attempt to track megaship scenarios. As with Ground CZs, the game doesn't give us enough information to detect whether you've actually **won** the scenario, so if you drop in and log a kill within 5 minutes, this is tallied as a win for the faction that's at war with the first ship you kill. ## v3.2.0-a2 - 2023-09-10 diff --git a/bgstally/activity.py b/bgstally/activity.py index b527733..3b36f03 100644 --- a/bgstally/activity.py +++ b/bgstally/activity.py @@ -800,7 +800,7 @@ def _bv_megaship_scenario(self, journal_entry:dict, current_system:dict, state:S """ faction:dict = current_system['Factions'].get(journal_entry['VictimFaction']) if not faction: return - opponent_faction:dict = current_system['Factions'].get(faction.get('Opponent')) + opponent_faction:dict = current_system['Factions'].get(faction.get('Opponent', "")) if not opponent_faction: return # If we've already counted this scenario, exit