Compare commits

..

6 Commits

Author SHA1 Message Date
56f3a9b380 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
Reviewed-on: https://gitea.e5tv.hu/esoko/mapguesser/pulls/24
Reviewed-by: Pőcze Bence <bence@pocze.ch>
2021-04-27 20:36:41 +02:00
a0d41c388b Merge branch 'develop' into bugfix/scoring-stuck-at-zero
All checks were successful
default-pipeline default-pipeline #123
2021-04-27 17:56:52 +02:00
95553296bd removed extra line break
All checks were successful
default-pipeline default-pipeline #121
2021-04-27 17:54:47 +02:00
508a6899d8 Merge branch 'develop' into bugfix/scoring-stuck-at-zero
All checks were successful
default-pipeline default-pipeline #119
2021-04-27 17:36:18 +02:00
be0f7b64b8 refactored comment
All checks were successful
default-pipeline default-pipeline #118
2021-04-27 17:35:06 +02:00
845d77ebda area of map is updated in the session at each game preparation to avoid outdated map area and wrong score calculation
All checks were successful
default-pipeline default-pipeline #115
2021-04-27 16:46:40 +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([