@ -187,7 +187,7 @@ public class RaceXMLCreator {
public static void setRaceXMLAtCurrentTimeToNow ( XMLRace raceXML ) {
public static void setRaceXMLAtCurrentTimeToNow ( XMLRace raceXML ) {
//The start time is current time + 4 minutes. prestart is 3 minutes, and we add another minute.
//The start time is current time + 4 minutes. prestart is 3 minutes, and we add another minute.
long millisecondsToAdd = Constants . RacePreStartTime + ( 1 * 60 * 1000 ) ;
long millisecondsToAdd = Constants . RacePreStartTime + Constants . RacePreparatoryTime ;
long secondsToAdd = millisecondsToAdd / 1000 ;
long secondsToAdd = millisecondsToAdd / 1000 ;
//Scale the time using our time scalar.
//Scale the time using our time scalar.
secondsToAdd = secondsToAdd / Constants . RaceTimeScale ;
secondsToAdd = secondsToAdd / Constants . RaceTimeScale ;