Skip to content

Commit

Permalink
Fix leave and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Oct 20, 2020
1 parent 76e609c commit 8136f2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SCPStats/EventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion SCPStats/SCPStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class SCPStats : Plugin<Config>
{
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;
Expand Down

0 comments on commit 8136f2c

Please sign in to comment.