Removed redundant logic as we've reset the data in previous line

This commit is contained in:
Dev 2024-06-20 16:17:07 +01:00
parent 785d6a3589
commit b7082ff9dc

View File

@ -190,8 +190,7 @@ export class RepeatableQuestController
inactiveQuests: generatedRepeatables.inactiveQuests,
changeRequirement: generatedRepeatables.changeRequirement,
freeChanges: generatedRepeatables.freeChanges,
freeChangesAvailable: generatedRepeatables.freeChanges
- (fullProfile.spt.freeRepeatableRefreshUsedCount[repeatableTypeLower] ?? 0), // Total minus how many used, could return 0 as we just reset them
freeChangesAvailable: generatedRepeatables.freeChanges,
});
}