some minor things
This commit is contained in:
@ -10,13 +10,12 @@ namespace ManiaControl;
|
||||
|
||||
class mapHandler {
|
||||
|
||||
/**
|
||||
/**
|
||||
* Private properties
|
||||
*/
|
||||
private $maniaControl = null;
|
||||
private $mapList = array();
|
||||
|
||||
|
||||
/**
|
||||
* Construct map handler
|
||||
* @param ManiaControl $maniaControl
|
||||
@ -53,6 +52,8 @@ class mapHandler {
|
||||
* @param array $callback
|
||||
*/
|
||||
public function onInit(){
|
||||
|
||||
|
||||
$this->maniaControl->client->query('GetMapList', 300, 0);
|
||||
$mapList = $this->maniaControl->client->getResponse();
|
||||
foreach ($mapList as $map) {
|
||||
|
Reference in New Issue
Block a user