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