Replace comparison references to HitResult.Miss with IsHit

This commit is contained in:
Bartłomiej Dach
2020-10-02 22:57:49 +02:00
parent 36dbb1b70a
commit 2b1ef16f89
15 changed files with 17 additions and 17 deletions

View File

@ -37,7 +37,7 @@ namespace osu.Game.Rulesets.Taiko.UI
Alpha = 0.15f;
Masking = true;
if (result == HitResult.Miss)
if (!result.IsHit())
return;
bool isRim = (judgedObject.HitObject as Hit)?.Type == HitType.Rim;