]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use server side number for team
authorMario <mario@smbclan.net>
Wed, 13 Jul 2016 08:38:58 +0000 (18:38 +1000)
committerMario <mario@smbclan.net>
Wed, 13 Jul 2016 08:38:58 +0000 (18:38 +1000)
qcsrc/client/main.qc

index b3ecce0bf187ad308f811c51782d23d148bab697..c96b3c8bdd6e17dc7678b949021f805ce6230584 100644 (file)
@@ -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)
        //{