mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +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())
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user