1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-05 21:14:30 +08:00

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
Unverified
+1 -1
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;
}
}