Change in get_player_data to set default values at the beginning.