Rename variable

This commit is contained in:
Endrik Tombak 2020-04-05 13:39:31 +03:00
parent a3626333be
commit 23c3be0969
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
public class ReverseArrowPiece : BeatSyncedContainer
{
[Resolved]
private DrawableHitObject drawableSlider { get; set; }
private DrawableHitObject drawableRepeat { get; set; }
public ReverseArrowPiece()
{
@ -44,7 +44,7 @@ public ReverseArrowPiece()
protected override void OnNewBeat(int beatIndex, TimingControlPoint timingPoint, EffectControlPoint effectPoint, TrackAmplitudes amplitudes)
{
if (!drawableSlider.IsHit)
if (!drawableRepeat.IsHit)
Child.ScaleTo(1.3f).ScaleTo(1f, timingPoint.BeatLength, Easing.Out);
}
}