Reduce nesting, because we don't have partial judgements any more

This commit is contained in:
smoogipooo 2017-09-12 19:45:07 +09:00
parent c07e831b17
commit cba642f781

View File

@ -168,10 +168,6 @@ namespace osu.Game.Rulesets.Scoring
/// </summary>
/// <param name="judgement">The judgement to add.</param>
protected void AddJudgement(Judgement judgement)
{
bool exists = Judgements.Contains(judgement);
if (!exists)
{
if (judgement.AffectsCombo)
{
@ -192,7 +188,6 @@ namespace osu.Game.Rulesets.Scoring
OnNewJudgement(judgement);
NotifyNewJudgement(judgement);
}
UpdateFailed();
}