Fixed the graph for races where somebody retired in the first lap
This commit is contained in:
parent
2c8bb534b9
commit
1bfdd3d543
|
@ -521,7 +521,7 @@ function createLineGraph(containerId, raceData){
|
|||
break;
|
||||
}
|
||||
_lap--;
|
||||
if(_lap < 0) break;
|
||||
if(_lap <= 0) break;
|
||||
}
|
||||
}else{
|
||||
if(raceData.lapTimes.get(lapNr)[pos-1]){
|
||||
|
|
Loading…
Reference in New Issue