From 40db9adc0d897eaa3e06917582463802ac76b3d5 Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Sat, 3 Oct 2020 20:57:08 +0800 Subject: [PATCH] fix mode 4 start failed --- Netch/Controllers/MainController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netch/Controllers/MainController.cs b/Netch/Controllers/MainController.cs index b8aa8b28..92074f23 100644 --- a/Netch/Controllers/MainController.cs +++ b/Netch/Controllers/MainController.cs @@ -54,7 +54,7 @@ namespace Netch.Controllers throw new StartFailedException(); } - if (ModeController.TestNatRequired) + if (ModeController?.TestNatRequired ?? false) NatTest(); return true;