Merge pull request #466 from Scavenger3/SilentKick

Fix SilentKickInProgress
This commit is contained in:
Lucas Nicodemus 2012-11-30 08:05:14 -08:00
commit f26045d4d1

View file

@ -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));