Stuck scoring at zero fixed by regular map area update in session #24

Merged
balazs merged 5 commits from bugfix/scoring-stuck-at-zero into develop 2021-04-27 20:36:42 +02:00
Showing only changes of commit 845d77ebda - Show all commits

View File

@ -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,