diff --git a/src/framework/async/AsyncServer.cpp b/src/framework/async/AsyncServer.cpp
--- a/src/framework/async/AsyncServer.cpp
+++ b/src/framework/async/AsyncServer.cpp
@@ -2888,6 +2888,6 @@ int idAsyncServer::AllocOpenClientSlotForAI(const char* botName, int maxPlayersO
 	game->ServerClientBegin(botClientId, true, botName);
 	idAsyncServer::SendUserInfoBroadcast(botClientId, spawnArgs, true);
 
-	return 1;
+	return botClientId;
 }
 // jmarshall end
