mirror of
https://github.com/ppy/osu.git
synced 2024-11-08 03:37:35 +08:00
Don't convert originally taiko hitobjects.
This commit is contained in:
parent
4a85b899c9
commit
7f7e8047d4
@ -33,6 +33,11 @@ namespace osu.Game.Modes.Taiko.Beatmaps
|
||||
|
||||
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
Block a user