mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Throw exception on unknown hitobject.
This commit is contained in:
@ -97,8 +97,7 @@ namespace osu.Game.Modes.Osu.Objects
|
|||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
//throw new InvalidOperationException($@"Unknown hit object type {type}");
|
throw new InvalidOperationException($@"Unknown hit object type {type}");
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
result.StartTime = Convert.ToDouble(split[2], CultureInfo.InvariantCulture);
|
result.StartTime = Convert.ToDouble(split[2], CultureInfo.InvariantCulture);
|
||||||
result.Sample = new HitSampleInfo
|
result.Sample = new HitSampleInfo
|
||||||
|
Reference in New Issue
Block a user