mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 16:12:54 +08:00
Fix regressions
This commit is contained in:
parent
2db68df999
commit
298ac5468f
@ -68,7 +68,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
validKeyPressed = HitActions.Contains(action);
|
||||
|
||||
// Only count this as handled if the new judgement is a hit
|
||||
return UpdateJudgement(true) && Judgements.Last().IsHit;
|
||||
return UpdateJudgement(true) && Judgements.LastOrDefault()?.IsHit == true;
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
|
@ -83,7 +83,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
return false;
|
||||
|
||||
// Assume the intention was to hit the strong hit with both keys only if the first key is still being held down
|
||||
return firstKeyHeld && Judgements.Last().IsHit;
|
||||
return firstKeyHeld && UpdateJudgement(true) && Judgements.LastOrDefault()?.IsHit == true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user