Don't crash on spinners

This commit is contained in:
Dean Herbert 2017-08-08 12:57:38 +09:00
parent 70585a279d
commit 482626adc2
1 changed files with 2 additions and 4 deletions

View File

@ -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
{