Merge pull request #3287 from smoogipoo/no-objects-logging

Soft-handle errors when beatmap contains no objects
This commit is contained in:
Dean Herbert
2018-08-22 16:52:34 +09:00
committed by GitHub

View File

@ -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;
}
}