about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/components/menus_ingame.cpp2
-rw-r--r--src/game/client/gameclient.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/game/client/components/menus_ingame.cpp b/src/game/client/components/menus_ingame.cpp
index 1aaf3d8d..0eb47f82 100644
--- a/src/game/client/components/menus_ingame.cpp
+++ b/src/game/client/components/menus_ingame.cpp
@@ -248,7 +248,7 @@ void MENUS::render_serverinfo(RECT main_view)
 		current_server_info.map,
 		gameclient.snap.gameobj->score_limit,
 		gameclient.snap.gameobj->time_limit,
-		gameclient.snap.team_size[0]+gameclient.snap.team_size[1],
+		gameclient.snap.num_players,
 		current_server_info.max_players
 	);
 	gfx_text(0, gameinfo.x+x, gameinfo.y+y, 20, buf, 250);
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp
index 6b3f3492..9af337e0 100644
--- a/src/game/client/gameclient.cpp
+++ b/src/game/client/gameclient.cpp
@@ -588,7 +588,8 @@ void GAMECLIENT::on_snapshot()
 					clients[cid].skin_info.color_feet = vec4(1,1,1,1);
 				}
 
-				clients[cid].update_render_info();					
+				clients[cid].update_render_info();
+				gameclient.snap.num_players++;
 				
 			}
 			else if(item.type == NETOBJTYPE_PLAYER_INFO)