1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00

Remove unnecessary local variables

This commit is contained in:
smoogipoo 2018-08-02 22:20:07 +09:00
parent a0887a600f
commit 0da6c8c1a7

View File

@ -25,15 +25,12 @@ namespace osu.Game.Rulesets.Taiko.Objects
/// </summary>
public double HitWindow => TickSpacing / 2;
public TaikoDrumRollTickJudgement Judgement { get; private set; }
public TaikoStrongHitJudgement StrongJudgement { get; private set; }
protected override IEnumerable<Judgement> CreateJudgements()
{
yield return Judgement = new TaikoDrumRollTickJudgement();
yield return new TaikoDrumRollTickJudgement();
if (IsStrong)
yield return StrongJudgement = new TaikoStrongHitJudgement();
yield return new TaikoStrongHitJudgement();
}
}
}