diff --git a/DBEditor/TShockDBEditor.csproj b/DBEditor/TShockDBEditor.csproj index ac8260c1..25b8d7d8 100644 --- a/DBEditor/TShockDBEditor.csproj +++ b/DBEditor/TShockDBEditor.csproj @@ -14,6 +14,7 @@ 512 + false publish\ true Disk @@ -26,7 +27,6 @@ true 0 1.0.0.%2a - false false true @@ -110,6 +110,7 @@ Settings.settings True + diff --git a/TShockAPI/StatTracker.cs b/TShockAPI/StatTracker.cs index 0f49645b..27ede224 100644 --- a/TShockAPI/StatTracker.cs +++ b/TShockAPI/StatTracker.cs @@ -29,16 +29,16 @@ namespace TShockAPI public DateTime lastcheck = DateTime.MinValue; private readonly int checkinFrequency = 5; - public void checkin() + public void CheckIn() { if ((DateTime.Now - lastcheck).TotalMinutes >= checkinFrequency) { - ThreadPool.QueueUserWorkItem(callHome); + ThreadPool.QueueUserWorkItem(CallHome); lastcheck = DateTime.Now; } } - private void callHome(object state) + private void CallHome(object state) { string fp; string lolpath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "/.tshock/"; diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index b70fcdcf..c9d1497e 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -416,7 +416,7 @@ namespace TShockAPI if (Config.RestApiEnabled) RestApi.Start(); - StatTracker.checkin(); + StatTracker.CheckIn(); FixChestStacks(); } @@ -442,7 +442,7 @@ namespace TShockAPI private void OnUpdate() { UpdateManager.UpdateProcedureCheck(); - StatTracker.checkin(); + StatTracker.CheckIn(); if (Backups.IsBackupTime) Backups.Backup(); diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index ef72520c..d9b9c7f9 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -101,6 +101,7 @@ Always +