mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Introduce base class for hitobjects that can be strong
This commit is contained in:
@ -65,8 +65,8 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
||||
converted.HitObjects = converted.HitObjects.GroupBy(t => t.StartTime).Select(x =>
|
||||
{
|
||||
TaikoHitObject first = x.First();
|
||||
if (x.Skip(1).Any() && first.CanBeStrong)
|
||||
first.IsStrong = true;
|
||||
if (x.Skip(1).Any() && first is TaikoStrongHitObject strong)
|
||||
strong.IsStrong = true;
|
||||
return first;
|
||||
}).ToList();
|
||||
}
|
||||
|
Reference in New Issue
Block a user