pruett now knew of tys intent to confess to the crime , and though he knew hanson would try to talk the cowboy out of doing such a thing , pruett figured the lawyer would be more motivated if he knew what train was barreling down the track .