mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Removed unnecessary schedule and null checks
This commit is contained in:
@ -217,12 +217,9 @@ namespace osu.Game.Screens.Select
|
||||
if (description == null || source == null || tags == null)
|
||||
throw new InvalidOperationException($@"Requires all {nameof(MetadataSection)} elements to be non-null.");
|
||||
|
||||
Schedule(() =>
|
||||
{
|
||||
description.Text = Beatmap?.Version;
|
||||
source.Text = Beatmap?.Metadata?.Source;
|
||||
tags.Text = Beatmap?.Metadata?.Tags;
|
||||
});
|
||||
description.Text = beatmap.Version;
|
||||
source.Text = beatmap.Metadata?.Source;
|
||||
tags.Text = beatmap.Metadata?.Tags;
|
||||
}
|
||||
|
||||
private void displayMetrics(BeatmapMetrics metrics, bool failOnMissing = true)
|
||||
|
Reference in New Issue
Block a user