From 6315fcc533d0e68e930a96444e3fb554740f8cbd Mon Sep 17 00:00:00 2001 From: Scavenger3 Date: Fri, 30 Nov 2012 17:12:00 +1000 Subject: [PATCH] Fix SilentKickInProgress --- TShockAPI/TShock.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index d1ccc3c4..1a88e796 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -825,12 +825,9 @@ namespace TShockAPI if (tsplr != null && tsplr.ReceivedInfo) { - if (!tsplr.SilentKickInProgress || tsplr.State > 1) + if (!tsplr.SilentKickInProgress && tsplr.State >= 3) { - if (tsplr.State >= 2) - { - Utils.Broadcast(tsplr.Name + " left", Color.Yellow); - } + Utils.Broadcast(tsplr.Name + " left", Color.Yellow); } Log.Info(string.Format("{0} disconnected.", tsplr.Name));