1 parent
8b3c95bdc7
commit
8d8074977b
2 files changed
+3
-3
No files matched your search
@@ -253,7 +253,7 @@ class GameFlowController
|
||||
private function startNewGame(array &$state, int $mapId): void
|
||||
{
|
||||
$session = $this->request->session();
|
||||
$userId = $session->get('userId'); // in case of multiplayer it will be null and handled the same way as for anonymous players
|
||||
$userId = $session->get('userId');
|
||||
|
||||
$places = $this->placeRepository->getRandomNPlaces($mapId, static::NUMBER_OF_ROUNDS, $userId);
|
||||
|
||||
|
||||
Reference in new issue
Block a user