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

0.7.6-extended
Justin Clark-Casey (justincc) 2013-08-22 20:12:14 +01:00
parent 832c35d4d5
commit 66a7dc3a0d
1 changed files with 2 additions and 1 deletions

View File

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