Merge pull request #6260 from Brodan/boost-threshold-color-fix

Make boost overlay to change to yellow at threshold
This commit is contained in:
Tomas Slusny
2018-11-12 11:51:33 +01:00
committed by GitHub

View File

@@ -81,7 +81,7 @@ public class BoostIndicator extends InfoBox
return new Color(238, 51, 51);
}
return boosted - base < config.boostThreshold() ? Color.YELLOW : Color.GREEN;
return boosted - base <= config.boostThreshold() ? Color.YELLOW : Color.GREEN;
}
@Override