diff --git a/Steam.cs b/Steam.cs
index ae75536..bbde85e 100644
--- a/Steam.cs
+++ b/Steam.cs
@@ -1,6 +1,7 @@
using System;
using System.IO;
using System.Linq;
+using System.Threading;
using System.Timers;
using Newtonsoft.Json;
using SteamKit2;
@@ -170,6 +171,8 @@ private static void OnDisconnected(SteamClient.DisconnectedCallback callback)
Environment.Exit(0);
}
+ // Try to reconnect
+ Thread.Sleep(TimeSpan.FromSeconds(15));
steamClient.Connect();
}
diff --git a/SteamUpdater.csproj b/SteamUpdater.csproj
index a5a0b36..5ba1564 100644
--- a/SteamUpdater.csproj
+++ b/SteamUpdater.csproj
@@ -9,5 +9,6 @@
+
\ No newline at end of file