Well it's is kind of a function because I did it intentionally without thinking much, I had the basic player control done and i realised the player can just stop moving mid air like they pulled the hand break and i thought you shouldn't be able to do that, so for fun i removed that ability and retained the velocity along x.
Anyways thanks for playing!!