GameRules: make `GameRules_teams(true)` imply `have_team_spawns = -1`
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator / gamemode_invasion.qh
index aad484c..1b5853d 100644 (file)
@@ -25,8 +25,7 @@ REGISTER_MUTATOR(inv, false)
                if (autocvar_g_invasion_teams >= 2)
                {
                        GameRules_teams(true);
-                       if (autocvar_g_invasion_team_spawns)
-                               have_team_spawns = -1; // request team spawns
+                       GameRules_spawning_teams(autocvar_g_invasion_team_spawns);
                }
        }