Stuck scoring at zero fixed by regular map area update in session #24
@ -93,6 +93,11 @@ class GameController
|
||||
'currentRound' => -1
|
||||
]);
|
||||
}
|
||||
// update the area of the map in the session in any case
|
||||
else {
|
||||
$state['area'] = $map->getArea();
|
||||
$session->set('state', $state);
|
||||
}
|
||||
|
||||
return new JsonContent([
|
||||
'mapId' => $mapId,
|
||||
|
Loading…
Reference in New Issue
Block a user