mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:07:52 +08:00
Don't crash on spinners
This commit is contained in:
parent
70585a279d
commit
482626adc2
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user