added yb_join_after_player convar

This commit is contained in:
jeefo 2014-07-30 17:49:31 +04:00
commit 2541f75a74
7 changed files with 241 additions and 26 deletions

View file

@ -454,6 +454,8 @@ void NetworkMsg::Execute (void *p)
g_clients[playerIndex - 1].realTeam = TEAM_TF;
else if (PTR_TO_INT (p) == 2)
g_clients[playerIndex - 1].realTeam = TEAM_CF;
else
g_clients[playerIndex - 1].realTeam = TEAM_SPEC;
if (yb_csdm_mode.GetInt () == 2)
g_clients[playerIndex - 1].team = playerIndex;