|
|
|
@ -110,7 +110,8 @@ public class Event {
|
|
|
|
//this.raceXML = RaceXMLCreator.alterRaceToWind(raceXMLFile, 90);
|
|
|
|
//this.raceXML = RaceXMLCreator.alterRaceToWind(raceXMLFile, 90);
|
|
|
|
this.raceXML = Event.setRaceXMLAtCurrentTimeToNow(XMLReader.readXMLFileToString(raceXMLFile, StandardCharsets.UTF_8));
|
|
|
|
this.raceXML = Event.setRaceXMLAtCurrentTimeToNow(XMLReader.readXMLFileToString(raceXMLFile, StandardCharsets.UTF_8));
|
|
|
|
if(mapIndex==4){
|
|
|
|
if(mapIndex==4){
|
|
|
|
this.raceXML = Event.setRaceXMLAtCurrentTimeToNow(XMLReader.readXMLFileToString(raceXMLFile, StandardCharsets.UTF_8), 1000, 5000);
|
|
|
|
//this.raceXML = Event.setRaceXMLAtCurrentTimeToNow(XMLReader.readXMLFileToString(raceXMLFile, StandardCharsets.UTF_8), 1000, 5000);
|
|
|
|
|
|
|
|
this.raceXML = RaceXMLCreator.alterRaceToWind(this.raceXML, XMLFileType.Contents, -1, true);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.raceXML = RaceXMLCreator.alterRaceToWind(this.raceXML, XMLFileType.Contents, 300, false);
|
|
|
|
this.raceXML = RaceXMLCreator.alterRaceToWind(this.raceXML, XMLFileType.Contents, 300, false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|