Compare commits

..

6 Commits

@ -92,6 +92,9 @@ class GameController
'rounds' => [], 'rounds' => [],
'currentRound' => -1 '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([ return new JsonContent([