Fixed challenge counter of '...a single match'

This commit is contained in:
MaikyM
2019-06-14 15:17:10 -06:00
parent dcacef3969
commit 69d158320a
2 changed files with 9 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
using csharp_wick;
using csharp_wick;
using FModel.Parser.Challenges;
using FModel.Parser.Items;
using FModel.Parser.Quests;
@@ -96,6 +96,9 @@ namespace FModel
string newQuest = questParser[x].Objectives[p].Description;
long newCount = questParser[x].Objectives[p].Count;
if (questParser[x].BAthenaMustCompleteInSingleMatch != false && questParser[x].ObjectiveCompletionCount > 0)
newCount = questParser[x].ObjectiveCompletionCount;
if (newQuest != oldQuest && newCount != oldCount)
{
if (questParser[x].Rewards != null)