Priority + return type corrected. Surrender and aiTreat called on remote if not local.
Check that medic won't be a player.