Fixed leaving game.