Add game pause function.