mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Add length check back to workingbeatmap
This commit is contained in:
parent
6e7426a098
commit
3e03916c39
@ -108,7 +108,7 @@ namespace osu.Game.Beatmaps
|
||||
IBeatmapConverter converter = CreateBeatmapConverter(Beatmap, rulesetInstance);
|
||||
|
||||
// Check if the beatmap can be converted
|
||||
if (!converter.CanConvert())
|
||||
if (Beatmap.HitObjects.Count > 0 && !converter.CanConvert())
|
||||
throw new BeatmapInvalidForRulesetException($"{nameof(Beatmaps.Beatmap)} can not be converted for the ruleset (ruleset: {ruleset.InstantiationInfo}, converter: {converter}).");
|
||||
|
||||
// Apply conversion mods
|
||||
|
Loading…
Reference in New Issue
Block a user