1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 04:42:58 +08:00

Fix rulesets being out of order

This commit is contained in:
Dean Herbert 2022-01-07 16:49:03 +09:00
parent e1f77b87de
commit 2d2faa72a9

View File

@ -141,7 +141,7 @@ namespace osu.Game.Rulesets
List<RulesetInfo> detachedRulesets = new List<RulesetInfo>(); List<RulesetInfo> detachedRulesets = new List<RulesetInfo>();
// perform a consistency check and detach final rulesets from realm for cross-thread runtime usage. // perform a consistency check and detach final rulesets from realm for cross-thread runtime usage.
foreach (var r in rulesets) foreach (var r in rulesets.OrderBy(r => r.OnlineID))
{ {
try try
{ {