Skip to content

Commit

Permalink
Bug where no faction is found in the debriefing window, but the mission
Browse files Browse the repository at this point in the history
is listed in the char.xml.  Fixes Da-Teachgh-2
  • Loading branch information
chantling committed Jun 3, 2011
1 parent 54a031e commit 88d68ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Questor.Modules/Cache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 88d68ea

Please sign in to comment.