Fixed the double jump bug