Update KcpTransport.cs
This commit is contained in:
parent
9957fa5f9a
commit
b006c9bcee
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ namespace kcp2k
|
|||
|
||||
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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue