mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 05:42:56 +08:00
minor cleanup
This commit is contained in:
parent
25bb6cbf9b
commit
4918b61412
@ -35,6 +35,7 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
||||
{
|
||||
var taikoBeatmap = (TaikoBeatmap)beatmap;
|
||||
var controlPointInfo = taikoBeatmap.ControlPointInfo;
|
||||
List<Hit> hits = taikoBeatmap.HitObjects.Where(obj => obj is Hit).Cast<Hit>().ToList();
|
||||
List<Hit> toRemove = new List<Hit>();
|
||||
|
||||
// Snap conversions for rhythms
|
||||
@ -47,8 +48,6 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
||||
|
||||
bool inPattern = false;
|
||||
|
||||
List<Hit> hits = taikoBeatmap.HitObjects.Where(obj => obj is Hit).Cast<Hit>().ToList();
|
||||
|
||||
foreach (var snapConversion in snapConversions)
|
||||
{
|
||||
int patternStartIndex = 0;
|
||||
@ -73,10 +72,10 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
||||
inPattern = true;
|
||||
}
|
||||
|
||||
// check if end of pattern
|
||||
// Check if end of pattern
|
||||
if (inPattern && snapValue != snapConversion.Key)
|
||||
{
|
||||
// End of the pattern
|
||||
// End pattern
|
||||
inPattern = false;
|
||||
|
||||
// Iterate through the pattern
|
||||
|
Loading…
Reference in New Issue
Block a user