Explorar el Código

Limit line.Split in Reload()
Rebase of 0591e6b

Bepis hace 3 años
padre
commit
8204577374
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      BepInEx.Core/Configuration/ConfigFile.cs

+ 1 - 1
BepInEx.Core/Configuration/ConfigFile.cs

@@ -118,7 +118,7 @@ namespace BepInEx.Configuration
 						continue;
 					}
 
-					string[] split = line.Split('='); //actual config line
+					string[] split = line.Split(new[] { '=' }, 2); //actual config line
 					if (split.Length != 2)
 						continue; //empty/invalid line