mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 20:05:29 +08:00
Avoid unverifiable capture.
This commit is contained in:
parent
1d4add9079
commit
bb2e63e714
@ -117,7 +117,8 @@ namespace osu.Game.Overlays
|
||||
|
||||
for (int i = 0; i < u.ProfileOrder.Length; i++)
|
||||
{
|
||||
var sec = sections.FirstOrDefault(s => s.Identifier == u.ProfileOrder[i]);
|
||||
string id = u.ProfileOrder[i];
|
||||
var sec = sections.FirstOrDefault(s => s.Identifier == id);
|
||||
if (sec != null)
|
||||
{
|
||||
sec.Depth = -i;
|
||||
|
Loading…
Reference in New Issue
Block a user