1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 16:12:54 +08:00

Fix regressions

This commit is contained in:
Dean Herbert 2017-12-23 17:24:28 +09:00
parent 2db68df999
commit 298ac5468f
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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;
}
}
}