]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
"teamplay" is not set yet, just check the serverflag directly
authorSamual Lenks <samual@xonotic.org>
Wed, 15 May 2013 01:47:09 +0000 (21:47 -0400)
committerSamual Lenks <samual@xonotic.org>
Wed, 15 May 2013 01:47:09 +0000 (21:47 -0400)
qcsrc/client/Main.qc

index 06d8c512841040fd45734d8a36e330b9d404e576..03affc67c1473b7ea844e399cb8876d9f5379d4d 100644 (file)
@@ -727,7 +727,7 @@ void Ent_ReadSpawnPoint(float is_new) // entity for spawnpoint
                }*/
                if(autocvar_cl_spawn_point_particles)
                {
-                       if(teamplay)
+                       if((serverflags & SERVERFLAG_TEAMPLAY))
                        {
                                switch(teamnum)
                                {