improved map object

This commit is contained in:
kremsy
2013-11-11 18:37:53 +01:00
parent b04356670e
commit ac1479c2df
5 changed files with 54 additions and 51 deletions

View File

@ -57,6 +57,7 @@ class mapHandler {
$this->maniaControl->client->query('GetMapList', 300, 0);
$mapList = $this->maniaControl->client->getResponse();
foreach ($mapList as $map) {
$map = new Map($this->maniaControl, $map);
$this->addMap($map);
}
}