]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/cfgapply.pl
Merge branch 'master' of git://git.xonotic.org/xonotic/xonotic
[xonotic/xonotic.git] / misc / tools / cfgapply.pl
index e714bc5d18ae66e3da0eeb8dbe31614cfafbc4c4..cb7b194e0390b8541583ae2fa4bc31cf00a24056 100644 (file)
@@ -11,9 +11,8 @@ while(<>)
 {
        chomp;
        s/\r//g;
-       s/\/\/.*//;
 
-       if(/^\s*(?:set\s+|seta\s+|)(\S+)/)
+       if(/^\s*(?:set\s+|seta\s+)(\S+)/ or /^\s*(\S+_\S+)/)
        {
                if(exists $cvar2line{$1})
                {