aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Tools/pCampBot/Bot.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/Bot.cs b/OpenSim/Tools/pCampBot/Bot.cs
index ccc24fa..70aa2cb 100644
--- a/OpenSim/Tools/pCampBot/Bot.cs
+++ b/OpenSim/Tools/pCampBot/Bot.cs
@@ -276,7 +276,7 @@ namespace pCampBot
276 //add additional steps and/or things the bot should do 276 //add additional steps and/or things the bot should do
277 private void Action() 277 private void Action()
278 { 278 {
279 while (ConnectionState != ConnectionState.Disconnecting) 279 while (ConnectionState == ConnectionState.Connected)
280 { 280 {
281 lock (Behaviours) 281 lock (Behaviours)
282 { 282 {