]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/items/items.qc
Fix GetField_fullspawndata sometimes taking the wrong code path
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / items / items.qc
index 825f003a5a0d249114bc7625e92b847d7b564445..f43fa3b3dc0cbc2d708f0a28bb541eaa26f8bc9e 100644 (file)
@@ -1104,7 +1104,7 @@ void StartItem(entity this, entity def)
                {
                        if (!this.team)
                        {
-                               string t = GetField_fullspawndata(this, "team");
+                               string t = GetField_fullspawndata(this, "team", false);
                                // bones_was_here: this hack is cheaper than changing to a .string strcmp()
                                if(t) this.team = crc16(false, t);
                        }