1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 02:49:53 +08:00

Slight logical error in the setValid method

This commit is contained in:
Chinmay Patil
2021-11-04 14:32:28 -06:00
Unverified
parent 8923561b05
commit 0ffd41bb70
@@ -67,8 +67,9 @@ namespace osu.Game.Screens.Play.HUD
private bool isValid;
private void setValid(bool valid)
{
isValid = valid;
if (isValid == valid) return;
DrawableCount.FadeTo(isValid ? 1 : alpha_when_invalid, 1000, Easing.OutQuint);
isValid = valid;
}
private void onJudgementAdded(JudgementResult judgement)