1
0
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:
smoogipoo 2018-08-22 16:01:58 +09:00
parent 47ec139700
commit 2fb62827e2

View File

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