Fixed free repeatables not refreshing their count after expiry

This commit is contained in:
Dev 2024-06-20 16:12:34 +01:00
parent bc31d47efa
commit 785d6a3589

View File

@ -178,6 +178,10 @@ export class RepeatableQuestController
};
}
// Reset free repeatable values in player profile to defaults
generatedRepeatables.freeChanges = repeatableConfig.freeChanges;
generatedRepeatables.freeChangesAvailable = repeatableConfig.freeChanges;
returnData.push({
id: repeatableConfig.id,
name: generatedRepeatables.name,