mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:17:51 +08:00
Further simplified a type check
This commit is contained in:
parent
8851da05f1
commit
0a76c8ee7f
@ -91,7 +91,7 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
||||
// If next hit object is strong, allow usage of all actions. Strong drumrolls are ignored in this check.
|
||||
if (playfield.HitObjectContainer.AliveObjects.FirstOrDefault(h => h.Result?.HasResult != true)?.HitObject is TaikoStrongableHitObject hitObject
|
||||
&& hitObject.IsStrong
|
||||
&& !(hitObject is DrumRoll))
|
||||
&& hitObject is not DrumRoll)
|
||||
return true;
|
||||
|
||||
if (CheckValidNewAction(action))
|
||||
|
Loading…
Reference in New Issue
Block a user