1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:02:55 +08:00

Adjust comment

This commit is contained in:
Dan Balasescu 2019-03-29 14:02:19 +09:00 committed by GitHub
parent 0439216f7e
commit e45c08ad23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ namespace osu.Game.Beatmaps.Formats
this.storyboard = storyboard; this.storyboard = storyboard;
base.ParseStreamInto(stream, storyboard); base.ParseStreamInto(stream, storyboard);
// OrderBy is used to guarantee that the parsing order of hitobjects with equal start times is maintained (stably-sorted) // OrderBy is used to guarantee that the parsing order of elements with equal start times is maintained (stably-sorted)
foreach (StoryboardLayer layer in storyboard.Layers) foreach (StoryboardLayer layer in storyboard.Layers)
layer.Elements = layer.Elements.OrderBy(h => h.StartTime).ToList(); layer.Elements = layer.Elements.OrderBy(h => h.StartTime).ToList();
} }