1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:42:56 +08:00

Don't crash on spinners

This commit is contained in:
Dean Herbert 2017-08-08 12:57:38 +09:00
parent 70585a279d
commit 482626adc2

View File

@ -18,10 +18,8 @@ namespace osu.Game.Rulesets.Catch.Beatmaps
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
{