In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connected

varregion
Justin Clark-Casey (justincc) 2013-09-03 19:58:27 +01:00
parent 9c3c9b7f5f
commit b781a23c44
1 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ namespace pCampBot
public override void Close()
{
if (Bot.ConnectionState == ConnectionState.Connected)
Bot.Client.Self.Jump(false);
}