MAPG-111 query map area from DB
modify calculations to be in square km (instead of m)
This commit is contained in:
1 parent
4d7c86fd1b
commit
7159867db0
6 files changed
+27
-28
No files matched your search
@@ -44,7 +44,7 @@ class GameController
|
||||
if (!($state = $session->get('state')) || $state['mapId'] !== $mapId) {
|
||||
$session->set('state', [
|
||||
'mapId' => $mapId,
|
||||
'area' => $bounds->calculateApproximateArea(),
|
||||
'area' => $map['area'],
|
||||
'rounds' => []
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user