]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove team setting from invasion gamemode definition
authorMario <mario.mario@y7mail.com>
Sat, 1 Aug 2020 02:31:19 +0000 (12:31 +1000)
committerMario <mario.mario@y7mail.com>
Sat, 1 Aug 2020 02:31:19 +0000 (12:31 +1000)
qcsrc/common/gamemodes/gamemode/invasion/invasion.qh

index 2195b84c71f6597713a3fba5e956213735d5ed87..7ac091d5cd31cb3858d4ac6e267978a7b4c66c8f 100644 (file)
@@ -5,14 +5,11 @@
 CLASS(Invasion, Gametype)
     INIT(Invasion)
     {
-        this.gametype_init(this, _("Invasion"),"inv","g_invasion",GAMETYPE_FLAG_USEPOINTS,"","pointlimit=50 teams=0 type=0",_("Survive against waves of monsters"));
+        this.gametype_init(this, _("Invasion"),"inv","g_invasion",GAMETYPE_FLAG_USEPOINTS,"","pointlimit=50 type=0",_("Survive against waves of monsters"));
     }
     METHOD(Invasion, m_parse_mapinfo, bool(string k, string v))
     {
         switch (k) {
-            case "teams":
-                cvar_set("g_invasion_teams", v);
-                return true;
             case "type":
                 cvar_set("g_invasion_type", v);
                 return true;