From 722313f28b23c78d5595c546bc41aa5a84f25dee Mon Sep 17 00:00:00 2001 From: MaikyM <51415805+MaikyM@users.noreply.github.com> Date: Wed, 18 Dec 2019 09:52:02 -0600 Subject: [PATCH] Ignore case on Challenge stages. --- .../Assets/IconCreator/ChallengeID/ChallengeBundleInfos.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FModel/Methods/Assets/IconCreator/ChallengeID/ChallengeBundleInfos.cs b/FModel/Methods/Assets/IconCreator/ChallengeID/ChallengeBundleInfos.cs index 76043354..a084365f 100644 --- a/FModel/Methods/Assets/IconCreator/ChallengeID/ChallengeBundleInfos.cs +++ b/FModel/Methods/Assets/IconCreator/ChallengeID/ChallengeBundleInfos.cs @@ -292,7 +292,7 @@ namespace FModel.Methods.Assets.IconCreator.ChallengeID } //this will catch the full path if asset exists to be able to grab his PakReader and List - string primaryAssetNameFullPath = AssetEntries.AssetEntriesDict.Where(x => x.Key.Contains("/" + primaryAssetName)).Select(d => d.Key).FirstOrDefault(); + string primaryAssetNameFullPath = AssetEntries.AssetEntriesDict.Where(x => x.Key.ToLowerInvariant().Contains("/" + primaryAssetName.ToLowerInvariant())).Select(d => d.Key).FirstOrDefault(); if (!string.IsNullOrEmpty(primaryAssetNameFullPath)) { // Prevents loops