diff --git a/SCPStats/EventHandler.cs b/SCPStats/EventHandler.cs index c0dd13a..86708aa 100644 --- a/SCPStats/EventHandler.cs +++ b/SCPStats/EventHandler.cs @@ -231,7 +231,7 @@ internal static void OnLeave(LeftEventArgs ev) {"playerid", HandleId(ev.Player.RawUserId)}, }; - SendRequest(data, "https://scpstats.com/plugin/event/join"); + SendRequest(data, "https://scpstats.com/plugin/event/leave"); if (Players.Contains(ev.Player.RawUserId)) Players.Remove(ev.Player.RawUserId); } diff --git a/SCPStats/SCPStats.cs b/SCPStats/SCPStats.cs index 6585561..05585fa 100644 --- a/SCPStats/SCPStats.cs +++ b/SCPStats/SCPStats.cs @@ -8,7 +8,7 @@ public class SCPStats : Plugin { public override string Name { get; } = "ScpStats"; public override string Author { get; } = "PintTheDragon"; - public override Version Version { get; } = new Version(1, 0, 1); + public override Version Version { get; } = new Version(1, 0, 2); public override PluginPriority Priority { get; } = PluginPriority.Last; internal static SCPStats Singleton;