fix repeateable quest logic deleting quests

This commit is contained in:
CWX
2025-02-12 19:50:21 +00:00
parent 6d9dc6e7a2
commit d6d7afb451
@@ -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);