mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 10:47:22 +09:00
Removed useless TaikoAction check from TaikoInputBlockingMod
This commit is contained in:
parent
d823faed08
commit
12a2037086
@ -84,19 +84,6 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
|||||||
if (nonGameplayPeriods.IsInAny(gameplayClock.CurrentTime))
|
if (nonGameplayPeriods.IsInAny(gameplayClock.CurrentTime))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
switch (action)
|
|
||||||
{
|
|
||||||
case TaikoAction.LeftCentre:
|
|
||||||
case TaikoAction.RightCentre:
|
|
||||||
case TaikoAction.LeftRim:
|
|
||||||
case TaikoAction.RightRim:
|
|
||||||
break;
|
|
||||||
|
|
||||||
// Any action which is not left or right button should be ignored.
|
|
||||||
default:
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// If next hit object is strong, allow usage of all actions. Strong drumrolls are ignored in this check.
|
// 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
|
if (playfield.HitObjectContainer.AliveObjects.FirstOrDefault(h => h.Result?.HasResult != true)?.HitObject is TaikoStrongableHitObject hitObject
|
||||||
&& hitObject.IsStrong
|
&& hitObject.IsStrong
|
||||||
|
Loading…
x
Reference in New Issue
Block a user