mirror of
https://github.com/ppy/osu
synced 2025-01-11 16:49:39 +00:00
Rename variable
This commit is contained in:
parent
364a3f75e1
commit
a8fc73695f
@ -61,11 +61,11 @@ namespace osu.Game.Rulesets.Mania.Edit
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
List<ManiaHitObject> remainingHitObjects = EditorBeatmap.HitObjects.Cast<ManiaHitObject>().Where(h => h.StartTime >= timestamp).ToList();
|
List<ManiaHitObject> remainingHitObjects = EditorBeatmap.HitObjects.Cast<ManiaHitObject>().Where(h => h.StartTime >= timestamp).ToList();
|
||||||
string[] splitDescription = objectDescription.Split(',').ToArray();
|
string[] objectDescriptions = objectDescription.Split(',').ToArray();
|
||||||
|
|
||||||
for (int i = 0; i < splitDescription.Length; i++)
|
for (int i = 0; i < objectDescriptions.Length; i++)
|
||||||
{
|
{
|
||||||
string[] split = splitDescription[i].Split('|').ToArray();
|
string[] split = objectDescriptions[i].Split('|').ToArray();
|
||||||
if (split.Length != 2)
|
if (split.Length != 2)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ namespace osu.Game.Rulesets.Mania.Edit
|
|||||||
|
|
||||||
EditorBeatmap.SelectedHitObjects.Add(current);
|
EditorBeatmap.SelectedHitObjects.Add(current);
|
||||||
|
|
||||||
if (i < splitDescription.Length - 1)
|
if (i < objectDescriptions.Length - 1)
|
||||||
remainingHitObjects = remainingHitObjects.Where(h => h != current && h.StartTime >= current.StartTime).ToList();
|
remainingHitObjects = remainingHitObjects.Where(h => h != current && h.StartTime >= current.StartTime).ToList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user