fix repeateable quest logic deleting quests
This commit is contained in:
@@ -299,7 +299,7 @@ public class ProfileFixerService(
|
||||
|
||||
for (var i = profileQuests.Count - 1; i >= 0; i--)
|
||||
{
|
||||
if (!quests.ContainsKey(profileQuests[i].QId) || activeRepeatableQuests.Any(x => x.Id == profileQuests[i].QId))
|
||||
if (!(quests.ContainsKey(profileQuests[i].QId) || activeRepeatableQuests.Any(x => x.Id == profileQuests[i].QId)))
|
||||
{
|
||||
_logger.Info($"Successfully removed orphaned quest: {profileQuests[i].QId} that doesn't exist in quest data");
|
||||
profileQuests.RemoveAt(i);
|
||||
|
||||
Reference in New Issue
Block a user