mirror of
https://github.com/osukey/osukey.git
synced 2025-05-31 02:17:34 +09:00
Remove unnecessary local variable
This commit is contained in:
parent
2ae5a95d77
commit
ae609b9d48
@ -27,12 +27,10 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
private void updateColour()
|
private void updateColour()
|
||||||
{
|
{
|
||||||
Color4 defaultColour = Color4.White;
|
|
||||||
|
|
||||||
if (user.Value?.IsSupporter ?? false)
|
if (user.Value?.IsSupporter ?? false)
|
||||||
Colour = skin.Value.GetConfig<GlobalSkinColours, Color4>(GlobalSkinColours.MenuGlow)?.Value ?? defaultColour;
|
Colour = skin.Value.GetConfig<GlobalSkinColours, Color4>(GlobalSkinColours.MenuGlow)?.Value ?? Color4.White;
|
||||||
else
|
else
|
||||||
Colour = defaultColour;
|
Colour = Color4.White;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user