diff --git a/src/Controller/GameController.php b/src/Controller/GameController.php index 23cf3c3..ba4b368 100644 --- a/src/Controller/GameController.php +++ b/src/Controller/GameController.php @@ -92,6 +92,9 @@ class GameController 'rounds' => [], 'currentRound' => -1 ]); + } else { // update the area of the map in the session in any case + $state['area'] = $map->getArea(); + $session->set('state', $state); } return new JsonContent([