mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 11:42:55 +08:00
Soft-handle errors when beatmap contains no objects
This commit is contained in:
parent
47ec139700
commit
2fb62827e2
@ -124,7 +124,7 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
if (!RulesetContainer.Objects.Any())
|
if (!RulesetContainer.Objects.Any())
|
||||||
{
|
{
|
||||||
Logger.Error(new InvalidOperationException("Beatmap contains no hit objects!"), "Beatmap contains no hit objects!");
|
Logger.Log("Beatmap contains no hit objects!", level: LogLevel.Error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user