feature/avoid-repeating-places-in-game #38
@ -90,7 +90,6 @@ class PlaceRepository
|
|||||||
$randomOffset = $pickRandomInt($numberOfPlacesLeft);
|
$randomOffset = $pickRandomInt($numberOfPlacesLeft);
|
||||||
}
|
}
|
||||||
|
|
||||||
// $select_unvisited->orderBy('last_time');
|
|
||||||
$select->where('id', 'NOT IN', $exclude);
|
$select->where('id', 'NOT IN', $exclude);
|
||||||
$select->limit(1, $randomOffset);
|
$select->limit(1, $randomOffset);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user