]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Allow one level of recursion when including cfg files in campaigns mirceakitsune/campaign_parse_recurse
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 20 Dec 2019 15:24:32 +0000 (15:24 +0000)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 20 Dec 2019 15:24:32 +0000 (15:24 +0000)
qcsrc/server/campaign.qc

index 76e2cdeb8480069230118925719d77d9e105ae5b..e69838638280c8f2f1bdd55b2f912dedf9ff1fda 100644 (file)
@@ -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