mirror of
https://github.com/osukey/osukey.git
synced 2025-05-06 06:07:26 +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>
|
/// </summary>
|
||||||
/// <param name="judgement">The judgement to add.</param>
|
/// <param name="judgement">The judgement to add.</param>
|
||||||
protected void AddJudgement(Judgement judgement)
|
protected void AddJudgement(Judgement judgement)
|
||||||
{
|
|
||||||
bool exists = Judgements.Contains(judgement);
|
|
||||||
|
|
||||||
if (!exists)
|
|
||||||
{
|
{
|
||||||
if (judgement.AffectsCombo)
|
if (judgement.AffectsCombo)
|
||||||
{
|
{
|
||||||
@ -192,7 +188,6 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
OnNewJudgement(judgement);
|
OnNewJudgement(judgement);
|
||||||
|
|
||||||
NotifyNewJudgement(judgement);
|
NotifyNewJudgement(judgement);
|
||||||
}
|
|
||||||
|
|
||||||
UpdateFailed();
|
UpdateFailed();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user