diff --git a/StringReloads/Engine/Initializer.cs b/StringReloads/Engine/Initializer.cs index 13a9167..80d2ad8 100644 --- a/StringReloads/Engine/Initializer.cs +++ b/StringReloads/Engine/Initializer.cs @@ -271,11 +271,11 @@ private void BuildCache(SRL Engine) { foreach (string Line in File.ReadAllLines(CharsFile)) { - if (!Line.Contains("=") || string.IsNullOrWhiteSpace(Line)) + if (!Line.Contains('=') || string.IsNullOrWhiteSpace(Line)) continue; - string PartA = Line.Substring(0, Line.IndexOf("=")); - string PartB = Line.Substring(Line.IndexOf("=") + 1); + string PartA = Line.Substring(0, Line.IndexOf('=')); + string PartB = Line.Substring(Line.IndexOf('=') + 1); if (PartA.Length > 1) PartA = PartA.Trim();