small change to pause

Made it so you don't have to keep holding down spacebar for game to
pause. Assumed this is what you wanted but if not ignore this commit.