Updated exitGame to use payload method.