From: Mario Date: Sat, 26 Jan 2013 09:48:16 +0000 (+1100) Subject: Also enable turrets automatically in TD X-Git-Tag: xonotic-v0.8.0~241^2^2~562 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=474aed970ff89e3f8261354aacfaf4980d392c42;p=xonotic%2Fxonotic-data.pk3dir.git Also enable turrets automatically in TD --- diff --git a/qcsrc/server/mutators/gamemode_td.qc b/qcsrc/server/mutators/gamemode_td.qc index 38747a366..a1b4550f7 100644 --- a/qcsrc/server/mutators/gamemode_td.qc +++ b/qcsrc/server/mutators/gamemode_td.qc @@ -1048,6 +1048,7 @@ MUTATOR_DEFINITION(gamemode_td) if(time > 1) // game loads at time 1 error("This is a game type and it cannot be added at runtime."); cvar_settemp("g_monsters", "1"); + cvar_settemp("g_turrets", "1"); // TODO: disable mapper added turrets? td_Init(); }