mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Strong drumrolls no longer allow all actions to be used
This commit is contained in:
parent
b883c6af34
commit
f2cada4584
@ -99,8 +99,10 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
||||
return true;
|
||||
}
|
||||
|
||||
// If next hit object is strong, allow usage of all actions
|
||||
if (playfield.HitObjectContainer.AliveObjects.FirstOrDefault(h => h.Result?.HasResult != true)?.HitObject is TaikoStrongableHitObject hitObject && hitObject.IsStrong)
|
||||
// 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 as DrumRoll == null)
|
||||
return true;
|
||||
|
||||
if (CheckValidNewAction(action))
|
||||
|
Loading…
Reference in New Issue
Block a user