mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Merge pull request #3287 from smoogipoo/no-objects-logging
Soft-handle errors when beatmap contains no objects
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user