mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +08:00
Slight logical error in the setValid method
This commit is contained in:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user