mirror of https://github.com/ppy/osu
Remove unnecessary local variables
This commit is contained in:
parent
a0887a600f
commit
0da6c8c1a7
|
@ -25,15 +25,12 @@ public class DrumRollTick : TaikoHitObject
|
|||
/// </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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue