From 0da6c8c1a7931980a4e35f4d0b5519776548b344 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Thu, 2 Aug 2018 22:20:07 +0900 Subject: [PATCH] Remove unnecessary local variables --- osu.Game.Rulesets.Taiko/Objects/DrumRollTick.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/osu.Game.Rulesets.Taiko/Objects/DrumRollTick.cs b/osu.Game.Rulesets.Taiko/Objects/DrumRollTick.cs index 58f6a2840a..7e36a896c1 100644 --- a/osu.Game.Rulesets.Taiko/Objects/DrumRollTick.cs +++ b/osu.Game.Rulesets.Taiko/Objects/DrumRollTick.cs @@ -25,15 +25,12 @@ public class DrumRollTick : TaikoHitObject /// public double HitWindow => TickSpacing / 2; - public TaikoDrumRollTickJudgement Judgement { get; private set; } - public TaikoStrongHitJudgement StrongJudgement { get; private set; } - protected override IEnumerable CreateJudgements() { - yield return Judgement = new TaikoDrumRollTickJudgement(); + yield return new TaikoDrumRollTickJudgement(); if (IsStrong) - yield return StrongJudgement = new TaikoStrongHitJudgement(); + yield return new TaikoStrongHitJudgement(); } } }