|
|
@ -526,12 +526,8 @@ function game_sudoku_check_questions( $id, $game, $attempt, $sudoku, $finishatte |
|
|
|
continue; |
|
|
|
} |
|
|
|
|
|
|
|
$name = "resp{$question->id}_"; |
|
|
|
if( !isset( $responses->$name)) |
|
|
|
continue; |
|
|
|
|
|
|
|
$grade = game_grade_responses( $question, $responses, 100, $answertext); |
|
|
|
if( $grade < 50){ |
|
|
|
if( $grade < 99){ |
|
|
|
//wrong answer |
|
|
|
game_update_queries( $game, $attempt, $query, $grade/100, $answertext); |
|
|
|
continue; |
|
|
|