diff --git a/BadBuilder/Program.cs b/BadBuilder/Program.cs index 181e82a..5c8835a 100644 --- a/BadBuilder/Program.cs +++ b/BadBuilder/Program.cs @@ -272,6 +272,15 @@ namespace BadBuilder } } + for (int i = 0; i < launchIniLines.Count; i++) + { + if (launchIniLines[i].TrimStart().StartsWith("autoswap", StringComparison.OrdinalIgnoreCase)) + { + launchIniLines[i] = "autoswap = true"; + break; + } + } + File.WriteAllLines(launchIniPath, launchIniLines); }