]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Also enable turrets automatically in TD
authorMario <mario.mario@y7mail.com>
Sat, 26 Jan 2013 09:48:16 +0000 (20:48 +1100)
committerMario <mario.mario@y7mail.com>
Sat, 26 Jan 2013 09:48:16 +0000 (20:48 +1100)
qcsrc/server/mutators/gamemode_td.qc

index 38747a3661400a586b0d17bd52c42414ce108e96..a1b4550f794600ebfde4a86865bf67737fad2975 100644 (file)
@@ -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();
        }