From 1e176ef531627d4ea57dcb8b3064e996991f4b76 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 1 Aug 2020 12:31:19 +1000 Subject: [PATCH] Remove team setting from invasion gamemode definition --- qcsrc/common/gamemodes/gamemode/invasion/invasion.qh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; -- 2.39.2