small change to exit properly if no player is selected