Fix bot name in server only build
This commit is contained in:
parent
63878e9693
commit
cb70036cb1
@ -424,7 +424,11 @@ void ClientLobby::update(int ticks)
|
|||||||
if (NetworkConfig::get()->isNetworkAITester())
|
if (NetworkConfig::get()->isNetworkAITester())
|
||||||
{
|
{
|
||||||
// I18N: Shown in lobby to indicate it's a bot in LAN game
|
// I18N: Shown in lobby to indicate it's a bot in LAN game
|
||||||
|
#ifdef SERVER_ONLY
|
||||||
|
name = L"Bot";
|
||||||
|
#else
|
||||||
name = _("Bot");
|
name = _("Bot");
|
||||||
|
#endif
|
||||||
if (i > 0)
|
if (i > 0)
|
||||||
{
|
{
|
||||||
name += core::stringw(" ") + StringUtils::toWString(i);
|
name += core::stringw(" ") + StringUtils::toWString(i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user