Added pausing to singleplayer and multiplayer