diff options
Diffstat (limited to 'OpenSim/Tools/pCampBot')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index 0f501b7..fd32a6a 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs | |||
@@ -302,9 +302,11 @@ namespace pCampBot | |||
302 | { | 302 | { |
303 | foreach (Bot pb in m_lBot) | 303 | foreach (Bot pb in m_lBot) |
304 | { | 304 | { |
305 | Simulator currentSim = pb.Client.Network.CurrentSim; | ||
306 | |||
305 | MainConsole.Instance.OutputFormat( | 307 | MainConsole.Instance.OutputFormat( |
306 | outputFormat, | 308 | outputFormat, |
307 | pb.Name, pb.Client.Network.CurrentSim.Name, pb.IsConnected ? "Connected" : "Disconnected"); | 309 | pb.Name, currentSim != null ? currentSim.Name : "(none)", pb.IsConnected ? "Connected" : "Disconnected"); |
308 | } | 310 | } |
309 | } | 311 | } |
310 | } | 312 | } |