diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index fd32a6a..d4bbc2a 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs | |||
@@ -242,7 +242,7 @@ namespace pCampBot | |||
242 | 242 | ||
243 | lock (m_lBot) | 243 | lock (m_lBot) |
244 | { | 244 | { |
245 | if (m_lBot.TrueForAll(b => !b.IsConnected)) | 245 | if (m_lBot.TrueForAll(b => b.ConnectionState == ConnectionState.Disconnected)) |
246 | Environment.Exit(0); | 246 | Environment.Exit(0); |
247 | 247 | ||
248 | break; | 248 | break; |
@@ -306,7 +306,7 @@ namespace pCampBot | |||
306 | 306 | ||
307 | MainConsole.Instance.OutputFormat( | 307 | MainConsole.Instance.OutputFormat( |
308 | outputFormat, | 308 | outputFormat, |
309 | pb.Name, currentSim != null ? currentSim.Name : "(none)", pb.IsConnected ? "Connected" : "Disconnected"); | 309 | pb.Name, currentSim != null ? currentSim.Name : "(none)", pb.ConnectionState); |
310 | } | 310 | } |
311 | } | 311 | } |
312 | } | 312 | } |