mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connected
This commit is contained in:
@@ -80,7 +80,8 @@ namespace pCampBot
|
||||
|
||||
public override void Close()
|
||||
{
|
||||
Bot.Client.Self.Jump(false);
|
||||
if (Bot.ConnectionState == ConnectionState.Connected)
|
||||
Bot.Client.Self.Jump(false);
|
||||
}
|
||||
|
||||
private string[] readexcuses()
|
||||
|
||||
Reference in New Issue
Block a user