diff options
author | Justin Clark-Casey (justincc) | 2013-08-19 21:25:17 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-08-19 21:25:17 +0100 |
commit | ea3f024b8a546608fce825d4aa9f165eaecfeed5 (patch) | |
tree | b9cd8b3c1c62c72821cf319fbcb120da8f59ae78 /OpenSim/Tools/pCampBot/pCampBot.cs | |
parent | refactor: restructure pCampbot multi-bot connection code. (diff) | |
download | opensim-SC_OLD-ea3f024b8a546608fce825d4aa9f165eaecfeed5.zip opensim-SC_OLD-ea3f024b8a546608fce825d4aa9f165eaecfeed5.tar.gz opensim-SC_OLD-ea3f024b8a546608fce825d4aa9f165eaecfeed5.tar.bz2 opensim-SC_OLD-ea3f024b8a546608fce825d4aa9f165eaecfeed5.tar.xz |
refactor: start bot connection thread within BotManager rather than externally
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/pCampBot.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs index b02f917..e58b130 100644 --- a/OpenSim/Tools/pCampBot/pCampBot.cs +++ b/OpenSim/Tools/pCampBot/pCampBot.cs | |||
@@ -95,10 +95,7 @@ namespace pCampBot | |||
95 | 95 | ||
96 | int botcount = commandLineConfig.GetInt("botcount", 1); | 96 | int botcount = commandLineConfig.GetInt("botcount", 1); |
97 | 97 | ||
98 | //startup specified number of bots. 1 is the default | 98 | bm.dobotStartup(botcount, commandLineConfig); |
99 | Thread startBotThread = new Thread(o => bm.dobotStartup(botcount, commandLineConfig)); | ||
100 | startBotThread.Name = "Initial start bots thread"; | ||
101 | startBotThread.Start(); | ||
102 | 99 | ||
103 | while (true) | 100 | while (true) |
104 | { | 101 | { |