From: Mario Date: Wed, 13 Jul 2016 08:38:58 +0000 (+1000) Subject: Use server side number for team X-Git-Tag: xonotic-v0.8.2~700^2~73 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=16c5b311c5e3c6ef1047bc4224f2395e0fdf9dd5;p=xonotic%2Fxonotic-data.pk3dir.git Use server side number for team --- diff --git a/qcsrc/client/main.qc b/qcsrc/client/main.qc index b3ecce0bf..c96b3c8bd 100644 --- a/qcsrc/client/main.qc +++ b/qcsrc/client/main.qc @@ -684,7 +684,7 @@ NET_HANDLE(ENT_CLIENT_SPAWNPOINT, bool is_new) spn_origin.y = ReadCoord(); spn_origin.z = ReadCoord(); - this.team = teamnum; + this.team = (teamnum + 1); //if(is_new) //{