From 9957fa5f9acc8a3f92ca549739e9272df072d8b0 Mon Sep 17 00:00:00 2001 From: Derek S <44935661+Derek-R-S@users.noreply.github.com> Date: Thu, 6 Jan 2022 14:12:43 -0600 Subject: [PATCH] Update Program.cs --- ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/Program.cs b/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/Program.cs index bcb79cf..25b49ed 100644 --- a/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/Program.cs +++ b/ServerProject-DONT-IMPORT-INTO-UNITY/LRM/Program/Program.cs @@ -25,7 +25,7 @@ namespace LightReflectiveMirror GetPublicIP(); - 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(CONFIG_PATH) && !noConfig) {