diff --git a/answer.php b/answer.php index 0b2c925..ebae4e0 100644 --- a/answer.php +++ b/answer.php @@ -188,7 +188,8 @@ if($uid == '') { array($uid) )['data'][0]['answered_questions']; $new_points = round($new_points / $answered_questions); - $score_multiplyer = 0.005 * $answered_questions; + $score_multiplyer = (0.005 * $answered_questions < 0.25) ? + 0.005 * $answered_questions : 0.25; $new_user_high = $old_user_high == 0 ? $new_points : round( $old_user_high * (1 - $score_multiplyer)