mirror of
https://github.com/osukey/osukey.git
synced 2025-06-25 05:07:59 +09: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;
|
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)
|
if (GetTexture(component.LookupName) is Texture t)
|
||||||
return new Sprite { Texture = t };
|
return new Sprite { Texture = t };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user