small change to pausing

made it so you don't have to keep holding down space to have game paused