diff options
Diffstat (limited to 'src/SMAPI/Framework/GameVersion.cs')
-rw-r--r-- | src/SMAPI/Framework/GameVersion.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/GameVersion.cs b/src/SMAPI/Framework/GameVersion.cs index 07957624..3ed60920 100644 --- a/src/SMAPI/Framework/GameVersion.cs +++ b/src/SMAPI/Framework/GameVersion.cs @@ -10,7 +10,7 @@ namespace StardewModdingAPI.Framework ** Private methods *********/ /// <summary>A mapping of game to semantic versions.</summary> - private static readonly IDictionary<string, string> VersionMap = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase) + private static readonly IDictionary<string, string> VersionMap = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase) { ["1.0"] = "1.0.0", ["1.01"] = "1.0.1", @@ -64,7 +64,7 @@ namespace StardewModdingAPI.Framework { foreach (var mapping in GameVersion.VersionMap) { - if (mapping.Value.Equals(semanticVersion, StringComparison.InvariantCultureIgnoreCase)) + if (mapping.Value.Equals(semanticVersion, StringComparison.OrdinalIgnoreCase)) return mapping.Key; } |