]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapinfo.qc
Merge branch 'master' into Mario/mapinfo_title_fix
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapinfo.qc
index 5cfc8785140bfca8dec3ae75cfd4d079293c5972..62e03d21b6fe8ed4fe375ea60d845636bcc420d7 100644 (file)
@@ -739,6 +739,7 @@ float MapInfo_isRedundant(string fn, string t)
        // we allow the visible title to have punctuation the file name does
        // not, but not vice versa
        t = strreplace("-", "", t);
+       fn = strreplace("-", "", fn);
 
        if(!strcasecmp(fn, t))
                return true;