Deprecated a method that shouldn't be used but is still being used, and merged in most recent master #story[1323]
This commit is contained in:
@@ -325,8 +325,13 @@ public class RaceXMLCreator {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* sets the current race time of the xml
|
||||
* @param raceXML race xml to alter
|
||||
* @param racePrestartTime prestart time
|
||||
* @param racePreparatoryTime preparatory time
|
||||
* @deprecated this should be used from the RaceXMLCreator not from this function
|
||||
*/
|
||||
public static void setRaceXMLAtCurrentTimeToNow(XMLRace raceXML, long racePrestartTime, long racePreparatoryTime){
|
||||
//The start time is current time + 4 minutes. prestart is 3 minutes, and we add another minute.
|
||||
long millisecondsToAdd = racePrestartTime + racePreparatoryTime;
|
||||
|
||||
Reference in New Issue
Block a user