mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
refactor: start bot connection thread within BotManager rather than externally
This commit is contained in:
@@ -95,10 +95,7 @@ namespace pCampBot
|
||||
|
||||
int botcount = commandLineConfig.GetInt("botcount", 1);
|
||||
|
||||
//startup specified number of bots. 1 is the default
|
||||
Thread startBotThread = new Thread(o => bm.dobotStartup(botcount, commandLineConfig));
|
||||
startBotThread.Name = "Initial start bots thread";
|
||||
startBotThread.Start();
|
||||
bm.dobotStartup(botcount, commandLineConfig);
|
||||
|
||||
while (true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user