1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 04:02:57 +08:00

Fix beatmap conversion tests failing

This commit is contained in:
smoogipoo 2018-10-16 12:01:58 +09:00
parent 3ad93d5a07
commit 41391a6627

View File

@ -76,8 +76,11 @@ namespace osu.Game.Beatmaps
var converted = ConvertHitObject(obj, beatmap);
// Note: This will not perform .ToList() if ObjectConverted is null
ObjectConverted?.Invoke(obj, converted.ToList());
if (ObjectConverted != null)
{
converted = converted.ToList();
ObjectConverted.Invoke(obj, converted);
}
foreach (var c in converted)
{