Fix server only build
This commit is contained in:
parent
a65eb2f774
commit
8fb4f4886e
@ -100,8 +100,10 @@ void BaseUserScreen::setNewAccountData(bool online, bool auto_login,
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
void BaseUserScreen::beforeAddingWidget()
|
void BaseUserScreen::beforeAddingWidget()
|
||||||
{
|
{
|
||||||
|
#ifndef SERVER_ONLY
|
||||||
getWidget<IconButtonWidget>("default_kart_color")
|
getWidget<IconButtonWidget>("default_kart_color")
|
||||||
->setVisible(CVS->isGLSL());
|
->setVisible(CVS->isGLSL());
|
||||||
|
#endif
|
||||||
} // beforeAddingWidget
|
} // beforeAddingWidget
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user