diff --git a/service/league_service/league_rater.py b/service/league_service/league_rater.py index 8ee9f1b..f1d537c 100644 --- a/service/league_service/league_rater.py +++ b/service/league_service/league_rater.py @@ -109,10 +109,10 @@ def _calculate_new_score(cls, league, current_score, outcome, rating, player_div # Return score based on rating to have players in top division sorted by rating if higher_div is None: return ( - player_div.highest_score - * (rating - player_div.min_rating) - / (player_div.max_rating - player_div.min_rating) - ) + player_div.highest_score + * (rating - player_div.min_rating) + / (player_div.max_rating - player_div.min_rating) + ) if rating > player_div.max_rating: boost = config.POSITIVE_BOOST