]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/sv_main.qc
spawnpoint selection: restructure to be WAY more mutator friendly and simpler; move...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / sv_main.qc
index 6e4b0ccb7a47e6a9e9ba20c9801af2996bff260d..c4cc090c3b289adcfd77a8fd71ba6733f13c6a93 100644 (file)
@@ -231,15 +231,6 @@ void StartFrame (void)
        RuneMatchGivePoints();
        bot_serverframe();
 
-       if(autocvar_spawn_debugview)
-       {
-               RandomSelection_Init();
-               for(self = world; (self = find(self, classname, "player")); )
-                       RandomSelection_Add(self, 0, string_null, 1, 0);
-               self = RandomSelection_chosen_ent;
-               SelectSpawnPoint(0);
-       }
-
        FOR_EACH_PLAYER(self)
                self.porto_forbidden = max(0, self.porto_forbidden - 1);
 }