mirror of
https://github.com/osukey/osukey.git
synced 2025-05-05 21:57:24 +09:00
Reduce nesting, because we don't have partial judgements any more
This commit is contained in:
parent
c07e831b17
commit
cba642f781
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user