mirror of https://github.com/ppy/osu
Fix test failing
This commit is contained in:
parent
493fc5d400
commit
c3fb4b9099
|
@ -53,7 +53,7 @@ public void TestBeatmapSkinDefault()
|
|||
private void checkNextHitObject(string skin) =>
|
||||
AddUntilStep($"check skin from {skin}", () =>
|
||||
{
|
||||
var firstObject = ((TestPlayer)Player).DrawableRuleset.Playfield.AllHitObjects.OfType<DrawableHitCircle>().FirstOrDefault();
|
||||
var firstObject = ((TestPlayer)Player).DrawableRuleset.Playfield.HitObjectContainer.AliveObjects.OfType<DrawableHitCircle>().FirstOrDefault();
|
||||
|
||||
if (firstObject == null)
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue