diff --git a/owlps-positioner/src/input.cc b/owlps-positioner/src/input.cc index 0cbf78f..b7967af 100644 --- a/owlps-positioner/src/input.cc +++ b/owlps-positioner/src/input.cc @@ -124,6 +124,14 @@ const Request& Input::get_next_request() const const Request& request = medium->get_next_request() ; log_current_request() ; + if (Configuration::is_configured("replay")) + { + Timestamp::update_current_time(request.get_time_sent()) ; + if (Configuration::is_configured("verbose")) + cerr << "Current time set to " + << Timestamp::get_current_time() << ".\n" ; + } + // If the request is a calibration request, add it to the Stock // (if allowed, and if it is not empty) if (Configuration::bool_value(