Limit how often the Grabber's beam effect is sent (lightning bolt from the weapon...
[voretournament/voretournament.git] / data / qcsrc / common / campaign_setup.qc
1 void CampaignSetup(float n)\r
2 {\r
3         localcmd("set g_campaign 1\n");\r
4         localcmd("set _campaign_name \"");\r
5                 localcmd(campaign_name);\r
6                 localcmd("\"\n");\r
7         localcmd("set _campaign_index ");\r
8                 localcmd(ftos(campaign_offset + n));\r
9                 localcmd("\n");\r
10         localcmd("disconnect\nmaxplayers 16\n");\r
11         MapInfo_LoadMap(campaign_mapname[n]);\r
12 }\r