]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/campaign_setup.qc
rename some stuff
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / campaign_setup.qc
1 void CampaignSetup(float n)
2 {
3         localcmd("set g_campaign 1\n");
4         localcmd("set _campaign_name \"");
5                 localcmd(campaign_name);
6                 localcmd("\"\n");
7         localcmd("set _campaign_index ");
8                 localcmd(ftos(campaign_offset + n));
9                 localcmd("\n");
10         localcmd("disconnect\nmaxplayers 16\n");
11         MapInfo_LoadMap(campaign_mapname[n]);
12 }