mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 21:51:09 +00:00
Remove guid again because we don't want every play on the server to know all guids, thanks brain for reporting
This commit is contained in:
parent
7bb5906599
commit
387e33a4e3
1 changed files with 2 additions and 4 deletions
|
@ -720,7 +720,6 @@ void ClientUserinfoChanged( int clientNum ) {
|
|||
char redTeam[MAX_INFO_STRING];
|
||||
char blueTeam[MAX_INFO_STRING];
|
||||
char userinfo[MAX_INFO_STRING];
|
||||
char guid[MAX_INFO_STRING];
|
||||
|
||||
ent = g_entities + clientNum;
|
||||
client = ent->client;
|
||||
|
@ -871,7 +870,6 @@ void ClientUserinfoChanged( int clientNum ) {
|
|||
|
||||
strcpy(redTeam, Info_ValueForKey( userinfo, "g_redteam" ));
|
||||
strcpy(blueTeam, Info_ValueForKey( userinfo, "g_blueteam" ));
|
||||
strcpy(guid, Info_ValueForKey(userinfo, "cl_guid"));
|
||||
|
||||
// send over a subset of the userinfo keys so other clients can
|
||||
// print scoreboards, display models, and play custom sounds
|
||||
|
@ -884,8 +882,8 @@ void ClientUserinfoChanged( int clientNum ) {
|
|||
}
|
||||
else
|
||||
{
|
||||
s = va("n\\%s\\guid\\%s\\t\\%i\\model\\%s\\hmodel\\%s\\g_redteam\\%s\\g_blueteam\\%s\\c1\\%s\\c2\\%s\\hc\\%i\\w\\%i\\l\\%i\\tt\\%d\\tl\\%d",
|
||||
client->pers.netname, guid, client->sess.sessionTeam, model, headModel, redTeam, blueTeam, c1, c2,
|
||||
s = va("n\\%s\\t\\%i\\model\\%s\\hmodel\\%s\\g_redteam\\%s\\g_blueteam\\%s\\c1\\%s\\c2\\%s\\hc\\%i\\w\\%i\\l\\%i\\tt\\%d\\tl\\%d",
|
||||
client->pers.netname, client->sess.sessionTeam, model, headModel, redTeam, blueTeam, c1, c2,
|
||||
client->pers.maxHealth, client->sess.wins, client->sess.losses, teamTask, teamLeader);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue