diff --git a/1.3/Assemblies/AchtungMod.dll b/1.3/Assemblies/AchtungMod.dll deleted file mode 100644 index 7370977..0000000 Binary files a/1.3/Assemblies/AchtungMod.dll and /dev/null differ diff --git a/Source/Achtung.csproj b/Source/Achtung.csproj index eb9572b..b591679 100644 --- a/Source/Achtung.csproj +++ b/Source/Achtung.csproj @@ -30,8 +30,8 @@ - - + + all diff --git a/Source/Main.cs b/Source/Main.cs index a5dfdaa..e0504d5 100644 --- a/Source/Main.cs +++ b/Source/Main.cs @@ -67,16 +67,6 @@ public static void Prefix() } } - [HarmonyPatch(typeof(Game))] - [HarmonyPatch(nameof(Game.FinalizeInit))] - static class Game_FinalizeInit_Patch - { - public static void Postfix() - { - ModCounter.Trigger(); - } - } - // build-in "Ignore Me Passing" functionality // [HarmonyPatch(typeof(GenConstruct))] diff --git a/Source/ModCounter.cs b/Source/ModCounter.cs deleted file mode 100644 index 6e149be..0000000 --- a/Source/ModCounter.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; - -public static class ModCounter -{ - // a very simple and gdpr friendly mod launch counter. - // no personal information is transfered and firebase - // doesn't store the IP or any other traceable information - - const string baseUrl = "http://us-central1-brrainz-mod-stats.cloudfunctions.net/ping?"; - public static void Trigger() - { - try - { - var uri = new Uri(baseUrl + "Achtung"); - using (var client = new System.Net.WebClient()) - client.DownloadStringAsync(uri); - } - catch - { - } - } -} \ No newline at end of file