From 531da4fbcaa65b52b595f23eeb1253e6026baf8e Mon Sep 17 00:00:00 2001 From: James Botting Date: Sun, 16 Aug 2015 22:19:36 +0100 Subject: [PATCH] Knew I missed it somewhere. --- ARKUpdater/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ARKUpdater/Program.cs b/ARKUpdater/Program.cs index f482f86..9ecfd4e 100644 --- a/ARKUpdater/Program.cs +++ b/ARKUpdater/Program.cs @@ -341,7 +341,7 @@ public void Run() ServerInt.StopServer(Server.ServerData); Log.ConsolePrint(LogLevel.Debug, "Server '{0}' now waiting for process exit", Server.ServerData.GameServerName); - while( Server.ProcessID != 0 ) continue; // This is set to 0 by our Exit event on the process in ServerInterface.cs + while( Server.ProcessID != 0 ) Thread.Sleep(100); // This is set to 0 by our Exit event on the process in ServerInterface.cs // Update Server SteamInt.UpdateGame(Server.ServerData.SteamUpdateScript, ARKConfiguration.ShowSteamUpdateInConsole);