aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/BotManager.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-08-22 20:12:14 +0100
committerJustin Clark-Casey (justincc)2013-08-22 20:12:14 +0100
commit66a7dc3a0de599068ea257cc2cefbbe4b95599c7 (patch)
tree471abf1cf4d12c3df1c00c70da86e8f9bd1d9e11 /OpenSim/Tools/pCampBot/BotManager.cs
parentStop "sit user name" and "stand user name" console commands from trying to si... (diff)
downloadopensim-SC_OLD-66a7dc3a0de599068ea257cc2cefbbe4b95599c7.zip
opensim-SC_OLD-66a7dc3a0de599068ea257cc2cefbbe4b95599c7.tar.gz
opensim-SC_OLD-66a7dc3a0de599068ea257cc2cefbbe4b95599c7.tar.bz2
opensim-SC_OLD-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.cs3
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