Merge pull request #6146 from peppy/fix-long-combo-test

Fix HitCircleLongCombo test stacking off-screen
This commit is contained in:
Dan Balasescu 2019-09-18 12:52:48 +09:00 committed by GitHub
commit a1db5c32a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,8 @@ namespace osu.Game.Rulesets.Osu.Tests
};
for (int i = 0; i < 512; i++)
beatmap.HitObjects.Add(new HitCircle { Position = new Vector2(256, 192), StartTime = i * 100 });
if (i % 32 < 20)
beatmap.HitObjects.Add(new HitCircle { Position = new Vector2(256, 192), StartTime = i * 100 });
return beatmap;
}