From: Mario Date: Sat, 1 Aug 2020 02:31:19 +0000 (+1000) Subject: Remove team setting from invasion gamemode definition X-Git-Tag: xonotic-v0.8.5~7^2~1^2~16 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1e176ef531627d4ea57dcb8b3064e996991f4b76;p=xonotic%2Fxonotic-data.pk3dir.git Remove team setting from invasion gamemode definition --- diff --git a/qcsrc/common/gamemodes/gamemode/invasion/invasion.qh b/qcsrc/common/gamemodes/gamemode/invasion/invasion.qh index 2195b84c71..7ac091d5cd 100644 --- a/qcsrc/common/gamemodes/gamemode/invasion/invasion.qh +++ b/qcsrc/common/gamemodes/gamemode/invasion/invasion.qh @@ -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;