diff --git a/engine/server/sv_user.c b/engine/server/sv_user.c index 9f910a6cb..cad2bfc68 100644 --- a/engine/server/sv_user.c +++ b/engine/server/sv_user.c @@ -2677,8 +2677,8 @@ void SV_SetUpClientEdict (client_t *cl, edict_t *ent) ((string_t *)ent->v)[pr_teamfield] = (string_t)PR_SetString(svprogfuncs, cl->team); { - int tc = atoi(Info_ValueForKey(host_client->userinfo, "topcolor")); - int bc = atoi(Info_ValueForKey(host_client->userinfo, "bottomcolor")); + int tc = atoi(Info_ValueForKey(cl->userinfo, "topcolor")); + int bc = atoi(Info_ValueForKey(cl->userinfo, "bottomcolor")); if (tc < 0 || tc > 13) tc = 0; if (bc < 0 || bc > 13)