client logic for teamMode recognition