From: Mario Date: Wed, 13 Jul 2016 07:58:11 +0000 (+1000) Subject: Set spawnpoint's team when updating X-Git-Tag: xonotic-v0.8.2~700^2~75 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9ac1255c99c4b12671d7f2cda04ed456a41d66c0;p=xonotic%2Fxonotic-data.pk3dir.git Set spawnpoint's team when updating --- diff --git a/qcsrc/client/main.qc b/qcsrc/client/main.qc index 7c39500c0..b3ecce0bf 100644 --- a/qcsrc/client/main.qc +++ b/qcsrc/client/main.qc @@ -684,6 +684,8 @@ NET_HANDLE(ENT_CLIENT_SPAWNPOINT, bool is_new) spn_origin.y = ReadCoord(); spn_origin.z = ReadCoord(); + this.team = teamnum; + //if(is_new) //{ this.origin = spn_origin;