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:
parent
3ad93d5a07
commit
41391a6627
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user