diff --git a/Program.cs b/Program.cs index 71340e8..9e995b5 100644 --- a/Program.cs +++ b/Program.cs @@ -2092,10 +2092,6 @@ static void RewriteConfig(string fileName) break; } else - { - bracketCheck = originalPosition; - } - if (bracketCheck < globalLine.Count && globalLine[bracketCheck].Contains('{')) { rewriteSections = true; } @@ -2183,10 +2179,6 @@ static void RewriteConfig(string fileName) break; } else - { - bracketCheck = originalPosition; - } - if (bracketCheck < globalLine.Count && globalLine[bracketCheck].Contains('{')) { rewriteSections = true; } @@ -2274,10 +2266,6 @@ static void RewriteConfig(string fileName) break; } else - { - bracketCheck = originalPosition; - } - if (bracketCheck < globalLine.Count && globalLine[bracketCheck].Contains('{')) { rewriteSections = true; } @@ -2365,10 +2353,6 @@ static void RewriteConfig(string fileName) break; } else - { - bracketCheck = originalPosition; - } - if (bracketCheck < globalLine.Count && globalLine[bracketCheck].Contains('{')) { rewriteSections = true; } @@ -2456,10 +2440,6 @@ static void RewriteConfig(string fileName) break; } else - { - bracketCheck = originalPosition; - } - if (bracketCheck < globalLine.Count && globalLine[bracketCheck].Contains('{')) { rewriteSections = true; }