mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:35:10 +08:00
Fix judgement test scene always using hitobjects at t=0
This commit is contained in:
parent
94886a09b2
commit
25d4511e49
@ -89,7 +89,13 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
pool,
|
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.Anchor = Anchor.Centre;
|
||||||
j.Origin = Anchor.Centre;
|
j.Origin = Anchor.Centre;
|
||||||
|
Loading…
Reference in New Issue
Block a user