mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Reduce warning/suggestion count to zero.
This commit is contained in:
@ -81,6 +81,9 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
if ((Beatmap?.Beatmap?.HitObjects.Count ?? 0) == 0)
|
||||
throw new Exception("No valid objects were found!");
|
||||
|
||||
if (Beatmap == null)
|
||||
throw new Exception("Beatmap was not loaded");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -167,7 +167,7 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
new Sprite
|
||||
{
|
||||
Texture = beatmap.Background,
|
||||
Texture = beatmap?.Background,
|
||||
Origin = Anchor.Centre,
|
||||
Anchor = Anchor.Centre,
|
||||
FillMode = FillMode.Fill,
|
||||
@ -176,7 +176,7 @@ namespace osu.Game.Screens.Play
|
||||
},
|
||||
new OsuSpriteText
|
||||
{
|
||||
Text = beatmap.BeatmapInfo?.Version,
|
||||
Text = beatmap?.BeatmapInfo?.Version,
|
||||
TextSize = 26,
|
||||
Font = @"Exo2.0-MediumItalic",
|
||||
Origin = Anchor.TopCentre,
|
||||
|
Reference in New Issue
Block a user