mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Remove unnecessary conversion
This commit is contained in:
@ -34,7 +34,7 @@ namespace osu.Game.Beatmaps
|
||||
protected override IBeatmap GetBeatmap()
|
||||
{
|
||||
if (BeatmapInfo.Path == null)
|
||||
return BeatmapInfo?.Ruleset.CreateInstance().CreateBeatmapConverter(new Beatmap { BeatmapInfo = BeatmapInfo }).Beatmap;
|
||||
return new Beatmap { BeatmapInfo = BeatmapInfo };
|
||||
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user