Commit aa928ac Chomp
committed
1 parent 8f416c5 commit aa928ac Copy full SHA for aa928ac
File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -571,10 +571,6 @@ export class RepeatableQuestController {
571
571
572
572
// Clone data before we send it to client
573
573
const repeatableToChangeClone = this . cloner . clone ( repeatablesInProfile ) ;
574
-
575
- // Purge inactive repeatables
576
- repeatableToChangeClone . inactiveQuests = [ ] ;
577
-
578
574
if ( ! repeatableToChangeClone ) {
579
575
// Unable to find quest being replaced
580
576
const message = this . localisationService . getText ( "quest-unable_to_find_repeatable_to_replace" ) ;
@@ -583,6 +579,9 @@ export class RepeatableQuestController {
583
579
return this . httpResponse . appendErrorToOutput ( output , message ) ;
584
580
}
585
581
582
+ // Purge inactive repeatables
583
+ repeatableToChangeClone . inactiveQuests = [ ] ;
584
+
586
585
// Nullguard
587
586
output . profileChanges [ sessionID ] . repeatableQuests ||= [ ] ;
588
587
You can’t perform that action at this time.
0 commit comments