]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/weapons/projectile.qc
Teams: setteam
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / weapons / projectile.qc
index ae69b8f5a8b232151957ebf19d15b2179229d87b..7045721932838555c80ccbb01260f15d3814e463 100644 (file)
@@ -270,7 +270,7 @@ NET_HANDLE(ENT_CLIENT_PROJECTILE, bool isnew)
                        this.fade_rate = 0;
                }
 
-               this.__team = ReadByte() - 1;
+               setteam(this, ReadByte() - 1);
        }
 
        if (f & 2)