diff --git a/core/src/main/java/tc/oc/pgm/rotation/pools/VotingPool.java b/core/src/main/java/tc/oc/pgm/rotation/pools/VotingPool.java index cc453dadb9..b0dc0af2fd 100644 --- a/core/src/main/java/tc/oc/pgm/rotation/pools/VotingPool.java +++ b/core/src/main/java/tc/oc/pgm/rotation/pools/VotingPool.java @@ -70,9 +70,9 @@ public double getMapScore(MapInfo map) { private void tickScores(Match match) { // If the current map isn't from this pool, ignore ticking if (!mapScores.containsKey(match.getMap())) return; - mapScores.replaceAll((mapScores, value) -> value > DEFAULT_SCORE - ? Math.max(value - constants.scoreDecay(), DEFAULT_SCORE) - : Math.min(value + constants.scoreRise(), DEFAULT_SCORE)); + mapScores.replaceAll((mapScores, value) -> value > constants.defaultScore() + ? Math.max(value - constants.scoreDecay(), constants.defaultScore()) + : Math.min(value + constants.scoreRise(), constants.defaultScore())); mapScores.put( match.getMap(), constants.scoreAfterPlay().applyAsDouble(new Context(match.getDuration()))); }