From f527c75fb1f8b15c3b573b1e9975c9c1ca93b1dd Mon Sep 17 00:00:00 2001 From: kaczy Date: Sun, 26 Nov 2023 16:18:33 +0100 Subject: [PATCH] Mark CEDServer as Running a little bit earlier --- CentrED/CentrED.csproj | 2 ++ Server/CEDServer.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CentrED/CentrED.csproj b/CentrED/CentrED.csproj index ea24b7a..b76fe47 100644 --- a/CentrED/CentrED.csproj +++ b/CentrED/CentrED.csproj @@ -28,6 +28,8 @@ + + diff --git a/Server/CEDServer.cs b/Server/CEDServer.cs index 43bf64c..69a9727 100644 --- a/Server/CEDServer.cs +++ b/Server/CEDServer.cs @@ -167,8 +167,8 @@ public void Run() { if (!_valid) return; - new Task(Listen).Start(); Running = true; + new Task(Listen).Start(); try { do