mirror of https://github.com/ppy/osu
Fix post-merge test regression
This commit is contained in:
parent
5f0a4103c2
commit
d7b072dd6e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue