mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
The endtime-object pattern is never checked against
This commit is contained in:
parent
4be478d38e
commit
27a510aad8
@ -152,10 +152,9 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
|
|||||||
return null;
|
return null;
|
||||||
|
|
||||||
Pattern newPattern = conversion.Generate();
|
Pattern newPattern = conversion.Generate();
|
||||||
lastPattern = newPattern;
|
|
||||||
|
|
||||||
var stairPatternGenerator = conversion as HitObjectPatternGenerator;
|
lastPattern = conversion is EndTimeObjectPatternGenerator ? lastPattern : newPattern;
|
||||||
lastStair = stairPatternGenerator?.StairType ?? lastStair;
|
lastStair = (conversion as HitObjectPatternGenerator)?.StairType ?? lastStair;
|
||||||
|
|
||||||
return newPattern.HitObjects;
|
return newPattern.HitObjects;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user