Fix server only build

This commit is contained in:
Benau 2018-10-31 02:31:39 +08:00
parent a65eb2f774
commit 8fb4f4886e

View File

@ -100,8 +100,10 @@ void BaseUserScreen::setNewAccountData(bool online, bool auto_login,
// ----------------------------------------------------------------------------
void BaseUserScreen::beforeAddingWidget()
{
#ifndef SERVER_ONLY
getWidget<IconButtonWidget>("default_kart_color")
->setVisible(CVS->isGLSL());
#endif
} // beforeAddingWidget
// ----------------------------------------------------------------------------