Hopefully fix to create bridge only once.

Ansariel 2012-03-10 18:38:18 +01:00
parent 86d0246416
commit 6980280d65
1 changed files with 2 additions and 2 deletions

View File

@ -324,11 +324,11 @@ BOOL FSLSLBridge::tick()
// Wait and periodically check if our important folders have been
// fetched in the meantime
if (gInventory.isCategoryComplete(mBridgeFolderID) && gInventory.isCategoryComplete(mBridgeContainerFolderID))
if (gInventory.isCategoryComplete(mBridgeFolderID) && gInventory.isCategoryComplete(mBridgeContainerFolderID) && !mHasInventoryLoaded)
{
// Now that inventory is usable, start bridge creation process
mEventTimer.stop();
mHasInventoryLoaded = true;
mEventTimer.stop();
startCreation();
}
}