Skip to content

Commit

Permalink
Revert "RaceRoomServer: Remove duplicate incidents of driver lap"
Browse files Browse the repository at this point in the history
This reverts commit 6639504.
  • Loading branch information
mauserrifle committed Apr 23, 2024
1 parent 6639504 commit cbc72c6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Simresults/Data/Reader/RaceRoomServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,6 @@ protected function readSessions()
if ($lap_data['Time'] < 0) continue;

$incidents = $this->helper->arrayGet($lap_data, 'Incidents');
if ($incidents) {
$incidents = array_unique($incidents, SORT_REGULAR);
}

// Last lap, is race session, driver is dnf and lap has
// incidents. We should exclude this lap since it is
Expand Down

0 comments on commit cbc72c6

Please sign in to comment.