mirror of https://github.com/ppy/osu
Don't convert originally taiko hitobjects.
This commit is contained in:
parent
4a85b899c9
commit
7f7e8047d4
|
@ -33,6 +33,11 @@ private List<TaikoHitObject> convertHitObjects(List<HitObject> hitObjects)
|
|||
|
||||
private TaikoHitObject convertHitObject(HitObject original)
|
||||
{
|
||||
// Check if this HitObject is already a TaikoHitObject, and return it if so
|
||||
TaikoHitObject originalTaiko = original as TaikoHitObject;
|
||||
if (originalTaiko != null)
|
||||
return originalTaiko;
|
||||
|
||||
IHasDistance distanceData = original as IHasDistance;
|
||||
IHasRepeats repeatsData = original as IHasRepeats;
|
||||
IHasEndTime endTimeData = original as IHasEndTime;
|
||||
|
|
Loading…
Reference in New Issue