Merge pull request #3273 from smoogipoo/fix-swell-isstrong

Fix taiko beatmap conversion attempting to make strong swells
This commit is contained in:
Dean Herbert 2018-08-22 11:49:17 +09:00 committed by GitHub
commit 1a51e5b56a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ 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())
if (x.Skip(1).Any() && !(first is Swell))
first.IsStrong = true;
return first;
}).ToList();