diff --git a/projects/quml-library/src/lib/section-player/section-player.component.ts b/projects/quml-library/src/lib/section-player/section-player.component.ts index 6d91b72f..146fb342 100644 --- a/projects/quml-library/src/lib/section-player/section-player.component.ts +++ b/projects/quml-library/src/lib/section-player/section-player.component.ts @@ -435,7 +435,7 @@ export class SectionPlayerComponent implements OnChanges, AfterViewInit { const currentIndex = this.myCarousel.getCurrentSlideIndex() - 1; if (this.isShuffleQuestions) { - this.updateScoreBoard(currentIndex, 'correct', undefined, DEFAULT_SCORE); + this.updateScoreBoard(currentIndex, 'correct', undefined, this.parentConfig.metadata.shuffleScore); } } @@ -905,7 +905,7 @@ export class SectionPlayerComponent implements OnChanges, AfterViewInit { /* istanbul ignore else */ if (isCorrectAnswer) { if (this.isShuffleQuestions) { - return DEFAULT_SCORE; + return this.parentConfig.metadata.shuffleScore; } return this.questions[currentIndex].responseDeclaration[key].correctResponse.outcomes.SCORE ? this.questions[currentIndex].responseDeclaration[key].correctResponse.outcomes.SCORE :