Merge pull request 'Stuck scoring at zero fixed by regular map area update in session' (#24) from bugfix/scoring-stuck-at-zero into develop
All checks were successful
default-pipeline default-pipeline #124
All checks were successful
default-pipeline default-pipeline #124
Reviewed-on: https://gitea.e5tv.hu/esoko/mapguesser/pulls/24 Reviewed-by: Pőcze Bence <bence@pocze.ch>
This commit is contained in:
commit
56f3a9b380
@ -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([
|
||||
|
Loading…
Reference in New Issue
Block a user