From 6f9d3a64ff0ebd48eaa3e7e73fe28d42ecb56231 Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Wed, 7 Dec 2022 23:08:31 +0100 Subject: [PATCH] count all thargoid war missions as system contributions --- EDPlayerJournal/BGS/MissionCompleted.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/EDPlayerJournal/BGS/MissionCompleted.cs b/EDPlayerJournal/BGS/MissionCompleted.cs index 775799c..84f18e6 100644 --- a/EDPlayerJournal/BGS/MissionCompleted.cs +++ b/EDPlayerJournal/BGS/MissionCompleted.cs @@ -51,8 +51,9 @@ public class MissionCompleted : Transaction { return false; } - if (AcceptedEntry.Mission.IsRescueMission && - AcceptedEntry.Mission.Name.Contains("Mission_TW_")) { + // If the mission starts with the name for thargoid war mission + // names, we assume its a system contribution + if (AcceptedEntry.Mission.Name.Contains("Mission_TW_")) { return true; }