1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-05 13:41:27 +08:00

Use inline lambda for scheduling

This commit is contained in:
mk56-spn
2023-01-30 16:13:55 +01:00
Unverified
parent 92690afa5f
commit 27c52a45fc
@@ -148,9 +148,7 @@ namespace osu.Game.Screens.Select
private void updateDisplay()
{
Scheduler.AddOnce(perform);
void perform()
Scheduler.AddOnce(() =>
{
if (beatmap == null)
{
@@ -189,7 +187,7 @@ namespace osu.Game.Screens.Select
difficultyColourBar.FadeColour(colours.ForStarDifficulty(s.NewValue));
}, true);
});
}
});
void removeOldInfo()
{