mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 00:43:21 +08:00
Return a valid "lighting" response from DefaultSkin
This is temporary to allow the new sprite lookup flow to potentially be merged before hit lighting skinnability is addressed.
This commit is contained in:
parent
8185020f12
commit
5f358a04e9
@ -158,6 +158,13 @@ namespace osu.Game.Skinning
|
||||
break;
|
||||
}
|
||||
|
||||
switch (component.LookupName)
|
||||
{
|
||||
// Temporary until default skin has a valid hit lighting.
|
||||
case @"lighting":
|
||||
return Drawable.Empty();
|
||||
}
|
||||
|
||||
if (GetTexture(component.LookupName) is Texture t)
|
||||
return new Sprite { Texture = t };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user