1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 14:47:18 +08:00

We shouldn't be adding null hitobjects.

This commit is contained in:
smoogipooo 2017-04-18 14:46:56 +09:00
parent 0dd97c433f
commit cf404b4bcf

View File

@ -63,7 +63,12 @@ namespace osu.Game.Modes.Beatmaps
// Convert the hit object
foreach (var obj in ConvertHitObject(original, beatmap))
{
if (obj == null)
continue;
yield return obj;
}
}
/// <summary>