aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-09-03 19:58:27 +0100
committerJustin Clark-Casey (justincc)2013-09-03 19:58:27 +0100
commitb781a23c445bea0fd199eb756ebf6143959256a6 (patch)
treec8fbabf67f7ad47c7a6f6eed3456184a823fd04f /OpenSim/Tools
parentMake pCampbot "add behaviour" and "remove behaviour" console commands work fo... (diff)
downloadopensim-SC_OLD-b781a23c445bea0fd199eb756ebf6143959256a6.zip
opensim-SC_OLD-b781a23c445bea0fd199eb756ebf6143959256a6.tar.gz
opensim-SC_OLD-b781a23c445bea0fd199eb756ebf6143959256a6.tar.bz2
opensim-SC_OLD-b781a23c445bea0fd199eb756ebf6143959256a6.tar.xz
In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connected
Diffstat (limited to 'OpenSim/Tools')
-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()