From: Mircea Kitsune Date: Fri, 20 Dec 2019 15:24:32 +0000 (+0000) Subject: Allow one level of recursion when including cfg files in campaigns X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmirceakitsune%2Fcampaign_parse_recurse;p=xonotic%2Fxonotic-data.pk3dir.git Allow one level of recursion when including cfg files in campaigns --- diff --git a/qcsrc/server/campaign.qc b/qcsrc/server/campaign.qc index 76e2cdeb8..e69838638 100644 --- a/qcsrc/server/campaign.qc +++ b/qcsrc/server/campaign.qc @@ -119,7 +119,7 @@ void CampaignPreInit() { string arg = argv(j); if(arg == "") continue; - _MapInfo_Parse_Settemp(mapname, MAPINFO_SETTEMP_ACL_USER, 0, arg, 0); // no recursion! + _MapInfo_Parse_Settemp(mapname, MAPINFO_SETTEMP_ACL_USER, 0, arg, 1); } } #endif