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:
parent
74ad6f9117
commit
780388d174
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user