\r
// singleplayer campaign\r
set g_campaign 0\r
+set g_campaign_changelevel 0 "When disabled, levels won't be automatically change after a match was won or lost (you're taken back to the menu instead)"\r
seta g_campaign_name "voretournament"\r
set g_campaign_skill 0\r
set g_campaignvoretournament_index 0\r
{\r
if(cvar("g_campaign"))\r
{\r
- CampaignPostIntermission();\r
- alreadychangedlevel = TRUE;\r
- return TRUE;\r
+ if(cvar("g_campaign_changelevel"))\r
+ {\r
+ CampaignPostIntermission();\r
+ alreadychangedlevel = TRUE;\r
+ return TRUE;\r
+ }\r
+ else\r
+ localcmd("togglemenu 1\n");\r
}\r
if(cvar("quit_when_empty"))\r
{\r