1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:33:20 +08:00

Merge pull request #1862 from FreezyLemon/fix-mania-hitobject-test

Fix TestCaseManiaHitObjects exception on load
This commit is contained in:
Dean Herbert 2018-01-07 11:37:45 +09:00 committed by GitHub
commit 8a4ab6c03d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ namespace osu.Game.Rulesets.Mania.Tests
RelativeChildSize = new Vector2(1, 10000),
Children = new[]
{
new DrawableHoldNote(new HoldNote(), ManiaAction.Key1)
new DrawableHoldNote(new HoldNote { Duration = 1 }, ManiaAction.Key1)
{
Y = 5000,
Height = 1000,