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

View File

@ -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([