In pCampbot, don't try and reconnect bots that are already connected on console "connect" command

This commit is contained in:
Justin Clark-Casey (justincc)
2013-08-22 20:12:14 +01:00
parent 832c35d4d5
commit 66a7dc3a0d

View File

@@ -299,7 +299,8 @@ namespace pCampBot
break;
}
m_bots[i].Connect();
if (m_bots[i].ConnectionState == ConnectionState.Disconnected)
m_bots[i].Connect();
}
// Stagger logins