1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 04:42:58 +08:00

Fix incorrect return value

This commit is contained in:
Salman Ahmed 2021-06-17 03:48:25 +03:00
parent 74ad6f9117
commit 780388d174

View File

@ -64,7 +64,7 @@ namespace osu.Game.Skinning
protected ISkin GetRulesetTransformedSkin(ISkin skin)
{
if (!(skin is LegacySkin))
return null;
return skin;
var rulesetTransformed = Ruleset.CreateLegacySkinProvider(skin, Beatmap);
if (rulesetTransformed != null)