Fix bot disconnection

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-10-31 22:27:12 +00:00
parent b1647f6d04
commit 43e07efbc8
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ namespace pCampBot
client.Throttle.Total = 400000; client.Throttle.Total = 400000;
client.Network.LoginProgress += this.Network_LoginProgress; client.Network.LoginProgress += this.Network_LoginProgress;
client.Network.SimConnected += this.Network_SimConnected; client.Network.SimConnected += this.Network_SimConnected;
// client.Network.Disconnected += this.Network_OnDisconnected; client.Network.Disconnected += this.Network_OnDisconnected;
client.Objects.ObjectUpdate += Objects_NewPrim; client.Objects.ObjectUpdate += Objects_NewPrim;
//client.Assets.OnAssetReceived += Asset_ReceivedCallback; //client.Assets.OnAssetReceived += Asset_ReceivedCallback;
if (client.Network.Login(FirstName, LastName, Password, "pCampBot", "Your name")) if (client.Network.Login(FirstName, LastName, Password, "pCampBot", "Your name"))