Fix test failing

This commit is contained in:
Dean Herbert 2019-08-30 14:51:47 +09:00
parent 493fc5d400
commit c3fb4b9099
1 changed files with 1 additions and 1 deletions

View File

@ -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;