diff --git a/SCPStats/EventHandler.cs b/SCPStats/EventHandler.cs index 7e1221e..f3197db 100644 --- a/SCPStats/EventHandler.cs +++ b/SCPStats/EventHandler.cs @@ -166,6 +166,8 @@ internal static void OnRoleChanged(ChangingRoleEventArgs ev) SendRequest(data, "https://scpstats.com/plugin/event/escape"); } + if (ev.Player.Role == RoleType.None || ev.Player.Role == RoleType.Spectator) return; + var data2 = new Dictionary() { {"serverid", SCPStats.Singleton.Config.ServerId},