From 88d68ea1bb7e785e801a44e3bfeff144508d0717 Mon Sep 17 00:00:00 2001 From: chantling Date: Fri, 3 Jun 2011 10:06:30 -0400 Subject: [PATCH] Bug where no faction is found in the debriefing window, but the mission is listed in the char.xml. Fixes gh-2 --- Questor.Modules/Cache.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Questor.Modules/Cache.cs b/Questor.Modules/Cache.cs index e017c1b60..f50502d81 100644 --- a/Questor.Modules/Cache.cs +++ b/Questor.Modules/Cache.cs @@ -628,7 +628,8 @@ public void RefreshMissionItems(long agentId) var mission = GetAgentMission(agentId); if (mission == null) return; - + if (factionName == null || factionName == "") + factionName = "Default"; if (Settings.Instance.MissionFitting.Any(m => m.Mission.ToLower() == mission.Name.ToLower())) { // if we've got multiple copies of the same mission, find the one with the matching faction