]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix a typo to better show map names in the menu
authorRudolf Polzer <divverent@xonotic.org>
Sat, 27 Aug 2011 15:38:31 +0000 (17:38 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 27 Aug 2011 15:38:31 +0000 (17:38 +0200)
qcsrc/common/mapinfo.qc

index 7afa131dadbb6bc69bc82eecc0d65ccdcf8eb993..57ccc20b4aa6e027e4163e513eaf47e19df6c00f 100644 (file)
@@ -1083,7 +1083,7 @@ float MapInfo_Get_ByName(string pFilename, float pAllowGenerate, float pGametype
                }
        }
 
-       if(MapInfo_Map_titlestring == "<TITLE>")
+       if(MapInfo_Map_title == "<TITLE>")
                MapInfo_Map_titlestring = MapInfo_Map_bspname;
        else if(MapInfo_isRedundant(MapInfo_Map_bspname, MapInfo_Map_title))
                MapInfo_Map_titlestring = MapInfo_Map_title;