This commit is contained in:
Chomp 2023-01-03 15:13:11 +00:00
parent 295f80cb46
commit ea974fc4cb

View File

@ -25,7 +25,7 @@ namespace QuestValidator.Common.Helpers
public QuestData Quest { get; set; }
}
private static readonly Dictionary<Quest, QuestData> questWithPreceedingQuest2 = new Dictionary<Quest, QuestData>
private static readonly Dictionary<Quest, QuestData> questWithPreceedingQuestDict = new Dictionary<Quest, QuestData>
{
{ Quest.Debut, GetQuestData(Quest.Debut)},
{ Quest.Checking, GetQuestData(Quest.Checking)
@ -595,9 +595,9 @@ namespace QuestValidator.Common.Helpers
public static List<PreRequisite> GetQuestRequirements(string questId)
{
Quest quest = QuestNames.GetEnumById(questId);
if (questWithPreceedingQuest2.ContainsKey(quest))
if (questWithPreceedingQuestDict.ContainsKey(quest))
{
return questWithPreceedingQuest2[quest].PreRequisites;
return questWithPreceedingQuestDict[quest].PreRequisites;
}
return null;