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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user