diff options
author | Melanie | 2012-05-13 01:24:01 +0100 |
---|---|---|
committer | Melanie | 2012-05-13 01:24:01 +0100 |
commit | e2dc04586afff4df24b82892728246a0eeed35f9 (patch) | |
tree | 80124f4f0454d96f5df3ae91e045ff2aebdc1553 /OpenSim/Tools/pCampBot/pCampBot.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Fix mono compiler warning. (diff) | |
download | opensim-SC-e2dc04586afff4df24b82892728246a0eeed35f9.zip opensim-SC-e2dc04586afff4df24b82892728246a0eeed35f9.tar.gz opensim-SC-e2dc04586afff4df24b82892728246a0eeed35f9.tar.bz2 opensim-SC-e2dc04586afff4df24b82892728246a0eeed35f9.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/pCampBot.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs index ec5ad04..52e7501 100644 --- a/OpenSim/Tools/pCampBot/pCampBot.cs +++ b/OpenSim/Tools/pCampBot/pCampBot.cs | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Reflection; | 29 | using System.Reflection; |
30 | using System.Threading; | ||
30 | using log4net; | 31 | using log4net; |
31 | using Nini.Config; | 32 | using Nini.Config; |
32 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
@@ -67,7 +68,9 @@ namespace pCampBot | |||
67 | BotManager bm = new BotManager(); | 68 | BotManager bm = new BotManager(); |
68 | 69 | ||
69 | //startup specified number of bots. 1 is the default | 70 | //startup specified number of bots. 1 is the default |
70 | bm.dobotStartup(botcount, config); | 71 | Thread startBotThread = new Thread(o => bm.dobotStartup(botcount, config)); |
72 | startBotThread.Name = "Initial start bots thread"; | ||
73 | startBotThread.Start(); | ||
71 | 74 | ||
72 | while (true) | 75 | while (true) |
73 | { | 76 | { |