Fix judgement test scene always using hitobjects at t=0

This commit is contained in:
Dean Herbert 2020-11-18 16:09:51 +09:00
parent 94886a09b2
commit 25d4511e49

View File

@ -89,7 +89,13 @@ namespace osu.Game.Rulesets.Osu.Tests
Children = new Drawable[]
{
pool,
pool.Get(j => j.Apply(new JudgementResult(new HitObject(), new Judgement()) { Type = result }, null)).With(j =>
pool.Get(j => j.Apply(new JudgementResult(new HitObject
{
StartTime = Time.Current
}, new Judgement())
{
Type = result,
}, null)).With(j =>
{
j.Anchor = Anchor.Centre;
j.Origin = Anchor.Centre;