moved player pause on dialogue to the player class