Fix post-merge test regression

This commit is contained in:
Bartłomiej Dach 2020-04-29 00:00:01 +02:00
parent 5f0a4103c2
commit d7b072dd6e
1 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,6 @@
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.Taiko.Judgements;
using osu.Game.Rulesets.Taiko.Objects;
using osu.Game.Rulesets.Taiko.Objects.Drawables;
using osu.Game.Rulesets.Taiko.UI;
using osu.Game.Rulesets.UI.Scrolling;
using osu.Game.Tests.Visual;
@ -150,7 +149,10 @@ private void setState(TaikoMascotAnimationState state)
private void addJudgement(TaikoPlayfield playfield, HitResult result)
{
playfield.OnNewResult(new DrawableHit(new Hit()), new JudgementResult(new HitObject(), new TaikoJudgement()) { Type = result });
var hit = new DrawableTestHit(new Hit(), result);
Add(hit);
playfield.OnNewResult(hit, new JudgementResult(hit.HitObject, new TaikoJudgement()) { Type = result });
}
private class TestDrawableTaikoMascot : DrawableTaikoMascot