Skip to content

Commit 198cb7a

Browse files
committed
force upper
1 parent bf11978 commit 198cb7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CathodeLib/Scripts/Level.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public static List<string> GetLevels(string gameDirectory, bool swapNostromoForP
318318
int length = file.Length - extraLength;
319319
if (length <= 0) continue;
320320

321-
string mapName = file.Substring(0, length);
321+
string mapName = file.Substring(0, length).ToUpper();
322322
if (swapNostromoForPatch && (mapName == "DLC/BSPNOSTROMO_RIPLEY" || mapName == "DLC/BSPNOSTROMO_TWOTEAMS")) mapName += "_PATCH";
323323
mapList.Add(mapName.ToUpper());
324324
}

0 commit comments

Comments
 (0)