Update KcpTransport.cs

This commit is contained in:
Derek S 2022-01-06 14:13:05 -06:00
parent 9957fa5f9a
commit b006c9bcee

View file

@ -44,7 +44,7 @@ namespace kcp2k
KCPConfig conf = new KCPConfig(); KCPConfig conf = new KCPConfig();
bool noConfig = bool.TryParse(Environment.GetEnvironmentVariable("NO_CONFIG") ?? "false", out noConfig) ? false : noConfig; bool noConfig = bool.Parse(Environment.GetEnvironmentVariable("NO_CONFIG") ?? "false");
if (!File.Exists("KCPConfig.json") && !noConfig) if (!File.Exists("KCPConfig.json") && !noConfig)
{ {