]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove team setup from Invasion definition
authorMario <mario.mario@y7mail.com>
Fri, 29 Apr 2022 12:44:55 +0000 (22:44 +1000)
committerMario <mario.mario@y7mail.com>
Fri, 29 Apr 2022 12:44:55 +0000 (22:44 +1000)
qcsrc/common/gamemodes/gamemode/invasion/sv_invasion.qh

index f3da6b6782b72a532948654335bc0ed64f289b76..9d01851a93bddce830da24f10994d66ced731d24 100644 (file)
@@ -17,10 +17,6 @@ REGISTER_MUTATOR(inv, false)
                g_invasion_roundends = IL_NEW();
                g_invasion_waves = IL_NEW();
                g_invasion_spawns = IL_NEW();
-               if (autocvar_g_invasion_teams >= 2) {
-                       GameRules_teams(true);
-                       GameRules_spawning_teams(autocvar_g_invasion_team_spawns);
-               }
         GameRules_limit_score(autocvar_g_invasion_point_limit);
 
                g_invasion = true;