diff options
author | Justin Clark-Casey (justincc) | 2013-08-22 20:12:14 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-08-22 20:12:14 +0100 |
commit | 66a7dc3a0de599068ea257cc2cefbbe4b95599c7 (patch) | |
tree | 471abf1cf4d12c3df1c00c70da86e8f9bd1d9e11 /OpenSim/Tools/pCampBot/BotManager.cs | |
parent | Stop "sit user name" and "stand user name" console commands from trying to si... (diff) | |
download | opensim-SC-66a7dc3a0de599068ea257cc2cefbbe4b95599c7.zip opensim-SC-66a7dc3a0de599068ea257cc2cefbbe4b95599c7.tar.gz opensim-SC-66a7dc3a0de599068ea257cc2cefbbe4b95599c7.tar.bz2 opensim-SC-66a7dc3a0de599068ea257cc2cefbbe4b95599c7.tar.xz |
In pCampbot, don't try and reconnect bots that are already connected on console "connect" command
Diffstat (limited to 'OpenSim/Tools/pCampBot/BotManager.cs')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index 13912ae..245c460 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs | |||
@@ -299,7 +299,8 @@ namespace pCampBot | |||
299 | break; | 299 | break; |
300 | } | 300 | } |
301 | 301 | ||
302 | m_bots[i].Connect(); | 302 | if (m_bots[i].ConnectionState == ConnectionState.Disconnected) |
303 | m_bots[i].Connect(); | ||
303 | } | 304 | } |
304 | 305 | ||
305 | // Stagger logins | 306 | // Stagger logins |