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 be0f7b64b8 - Show all commits

View File

@ -93,8 +93,7 @@ class GameController
'currentRound' => -1 'currentRound' => -1
]); ]);
} }
// update the area of the map in the session in any case else { // update the area of the map in the session in any case
else {
$state['area'] = $map->getArea(); $state['area'] = $map->getArea();
$session->set('state', $state); $session->set('state', $state);
} }