]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/spawnpoints.qc
In CTS, allow spawnpoints to have an invalid target (fixes a crash on several defrag...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / spawnpoints.qc
index 03b40c5e12864aa7570c19ff0169c0ec107162b2..40acbb6d4a7d1dd4e4407fdf433bbf99e845c9cd 100644 (file)
@@ -262,7 +262,7 @@ vector Spawn_Score(entity this, entity spot, float mindist, float teamcheck)
                        }
                }
 
-               if(!found)
+               if(!found && !g_cts)
                {
                        LOG_TRACE("WARNING: spawnpoint at ", vtos(spot.origin), " could not find its target ", spot.target);
                        return '-1 0 0';