$racerooms = $this->getRacetime($event->racetime_category);
foreach ($episodes as $episode) {
$rooms = $this->filterID($episode, $racerooms);
- //if (count($rooms) > 1) {
- // $rooms = $this->filterStartTime($episode, $rooms);
- //}
if (count($rooms) > 1) {
$rooms = $this->filterPlayerNames($episode, $rooms);
}
+ if (count($rooms) > 1) {
+ $rooms = $this->filterStartTime($episode, $rooms);
+ }
if (count($rooms) == 1) {
$this->line(' - linking episode '.$episode->id.' with room '.$rooms[0]['name']);
$episode->raceroom = 'https://racetime.gg'.$rooms[0]['url'];