Just making sure you're checking for the pause button click before the player movement. Otherwise it would jump first, and then pause, like what's happening.
↧