aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs b/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs
index 65a7c90..6fd2b7c 100644
--- a/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs
+++ b/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs
@@ -80,7 +80,8 @@ namespace pCampBot
80 80
81 public override void Close() 81 public override void Close()
82 { 82 {
83 Bot.Client.Self.Jump(false); 83 if (Bot.ConnectionState == ConnectionState.Connected)
84 Bot.Client.Self.Jump(false);
84 } 85 }
85 86
86 private string[] readexcuses() 87 private string[] readexcuses()