Ignore error message for network ai

This commit is contained in:
Benau
2019-10-23 13:37:27 +08:00
parent a5e5b20a19
commit 6c22a3b210

View File

@@ -463,8 +463,11 @@ bool KartSelectionScreen::joinPlayer(InputDevice* device, PlayerProfile* p)
}
else if (device == NULL)
{
Log::error("KartSelectionScreen", "joinPlayer(): Received null "
"device pointer");
if (!NetworkConfig::get()->isNetworkAITester())
{
Log::error("KartSelectionScreen", "joinPlayer(): Received null "
"device pointer");
}
return false;
}