diff options
author | Justin Clark-Casey (justincc) | 2013-08-19 23:50:18 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-08-19 23:50:18 +0100 |
commit | 589b1a2eaf9058c3577b17ae76580a79ba855978 (patch) | |
tree | c0f9119ce19932e5b0651e66b0daee1d9479bb1b /OpenSim/Tools/pCampBot/pCampBot.cs | |
parent | refactor: start bot connection thread within BotManager rather than externally (diff) | |
download | opensim-SC_OLD-589b1a2eaf9058c3577b17ae76580a79ba855978.zip opensim-SC_OLD-589b1a2eaf9058c3577b17ae76580a79ba855978.tar.gz opensim-SC_OLD-589b1a2eaf9058c3577b17ae76580a79ba855978.tar.bz2 opensim-SC_OLD-589b1a2eaf9058c3577b17ae76580a79ba855978.tar.xz |
Make it possible to reconnect pCampbots with the console command "connect [<n>]".
If no n is given then all available bots are connected
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/pCampBot.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs index e58b130..ada39ee 100644 --- a/OpenSim/Tools/pCampBot/pCampBot.cs +++ b/OpenSim/Tools/pCampBot/pCampBot.cs | |||
@@ -95,7 +95,8 @@ namespace pCampBot | |||
95 | 95 | ||
96 | int botcount = commandLineConfig.GetInt("botcount", 1); | 96 | int botcount = commandLineConfig.GetInt("botcount", 1); |
97 | 97 | ||
98 | bm.dobotStartup(botcount, commandLineConfig); | 98 | bm.CreateBots(botcount, commandLineConfig); |
99 | bm.ConnectBots(botcount); | ||
99 | 100 | ||
100 | while (true) | 101 | while (true) |
101 | { | 102 | { |