Works on Mobile but Not on PC?

So I created a simple double jump for my character

It works as intended on mobile, I have no problems with that.
I also configured the controls so I can try the game on PC but the problem is instead of being able to jump again in the air, the character gets double impulse on first jump.

I’m completely dumbfounded, how is this happening?

Edit: If you want to test it , it is “nivel 3” rpgTesting1 | Play on gd.games