mirror of https://github.com/ppy/osu
Don't crash on spinners
This commit is contained in:
parent
70585a279d
commit
482626adc2
|
@ -18,10 +18,8 @@ internal class CatchBeatmapConverter : BeatmapConverter<CatchBaseHit>
|
|||
|
||||
protected override IEnumerable<CatchBaseHit> ConvertHitObject(HitObject obj, Beatmap beatmap)
|
||||
{
|
||||
/*var distanceData = obj as IHasDistance;
|
||||
var repeatsData = obj as IHasRepeats;
|
||||
var endTimeData = obj as IHasEndTime;
|
||||
var curveData = obj as IHasCurve;*/
|
||||
if (!(obj is IHasXPosition))
|
||||
yield break;
|
||||
|
||||
yield return new Fruit
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue