aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Tools/pCampBot/PhysicsBot.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/PhysicsBot.cs b/OpenSim/Tools/pCampBot/PhysicsBot.cs
index 945697b..5bcd35d 100644
--- a/OpenSim/Tools/pCampBot/PhysicsBot.cs
+++ b/OpenSim/Tools/pCampBot/PhysicsBot.cs
@@ -398,7 +398,13 @@ namespace pCampBot
398// (args.Reason == NetworkManager.DisconnectType.SimShutdown 398// (args.Reason == NetworkManager.DisconnectType.SimShutdown
399// || args.Reason == NetworkManager.DisconnectType.NetworkTimeout) 399// || args.Reason == NetworkManager.DisconnectType.NetworkTimeout)
400// && OnDisconnected != null) 400// && OnDisconnected != null)
401 if (OnDisconnected != null) 401
402 if (
403 (args.Reason == NetworkManager.DisconnectType.ClientInitiated
404 || args.Reason == NetworkManager.DisconnectType.ServerInitiated
405 || args.Reason == NetworkManager.DisconnectType.NetworkTimeout)
406 && OnDisconnected != null)
407// if (OnDisconnected != null)
402 { 408 {
403 OnDisconnected(this, EventType.DISCONNECTED); 409 OnDisconnected(this, EventType.DISCONNECTED);
404 } 410 }