Fix osu!catch autoplay missing bananas when running above 1x playback speed

This commit is contained in:
Dean Herbert 2018-02-01 19:22:31 +09:00
parent 9cc95e6e14
commit 468205d450
2 changed files with 7 additions and 7 deletions

View File

@ -35,10 +35,6 @@ public CatchPlayfield(BeatmapDifficulty difficulty, Func<CatchHitObject, Drawabl
ScaledContent.AddRange(new Drawable[]
{
content = new Container<Drawable>
{
RelativeSizeAxes = Axes.Both,
},
explodingFruitContainer = new Container
{
RelativeSizeAxes = Axes.Both,
@ -49,7 +45,11 @@ public CatchPlayfield(BeatmapDifficulty difficulty, Func<CatchHitObject, Drawabl
ExplodingFruitTarget = explodingFruitContainer,
Anchor = Anchor.BottomLeft,
Origin = Anchor.TopLeft,
}
},
content = new Container<Drawable>
{
RelativeSizeAxes = Axes.Both,
},
});
}

View File

@ -84,9 +84,9 @@ public void OnJudgement(DrawableCatchHitObject fruit, Judgement judgement)
}
}
protected override void Update()
protected override void UpdateAfterChildren()
{
base.Update();
base.UpdateAfterChildren();
var state = GetContainingInputManager().CurrentState as CatchFramedReplayInputHandler.CatchReplayState;