mirror of
https://github.com/ppy/osu
synced 2025-01-23 22:33:05 +00:00
Remove unnecessary conversion
This commit is contained in:
parent
1f2f21e07a
commit
f14a82e3a9
@ -34,7 +34,7 @@ namespace osu.Game.Beatmaps
|
|||||||
protected override IBeatmap GetBeatmap()
|
protected override IBeatmap GetBeatmap()
|
||||||
{
|
{
|
||||||
if (BeatmapInfo.Path == null)
|
if (BeatmapInfo.Path == null)
|
||||||
return BeatmapInfo?.Ruleset.CreateInstance().CreateBeatmapConverter(new Beatmap { BeatmapInfo = BeatmapInfo }).Beatmap;
|
return new Beatmap { BeatmapInfo = BeatmapInfo };
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user