mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 18:32:55 +08:00
Fix progression lines getting stuck after removing a match in ladder editor screen
This commit is contained in:
parent
da7e880e46
commit
bda16f0fbc
@ -303,6 +303,15 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
|
|||||||
Match.LosersProgression.Value = null;
|
Match.LosersProgression.Value = null;
|
||||||
|
|
||||||
ladderInfo.Matches.Remove(Match);
|
ladderInfo.Matches.Remove(Match);
|
||||||
|
|
||||||
|
foreach (var m in ladderInfo.Matches)
|
||||||
|
{
|
||||||
|
if (m.Progression.Value == Match)
|
||||||
|
m.Progression.Value = null;
|
||||||
|
|
||||||
|
if (m.LosersProgression.Value == Match)
|
||||||
|
m.LosersProgression.Value = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user