Skip to content

Commit

Permalink
fixed userscore multiselect
Browse files Browse the repository at this point in the history
  • Loading branch information
jbc25 committed Mar 1, 2024
1 parent 0447c29 commit e039bff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void mark(String lang){
private void setFeedbackHtmlFile(String lang) {
try {
String feedbackKey = "";
if (userscore == 0) {
if (userscore * 100 < Quiz.QUIZ_QUESTION_PASS_THRESHOLD) {
feedbackKey = "incorrectfeedbackhtmlfile";
} else {
feedbackKey = "correctfeedbackhtmlfile";
Expand Down

0 comments on commit e039bff

Please sign in to comment.