Only exit game if "isPlaying" (Is there a better way?)