Begin of map search in map list

This commit is contained in:
Jocy 2017-04-11 15:08:21 +02:00
parent 750f605d96
commit 9fdcb1ae4c
2 changed files with 3 additions and 1 deletions

View File

@ -513,6 +513,8 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
$index++; $index++;
} }
//var_dump($this->maniaControl->getMapManager()->searchMaps('nadeolabs'));
$this->maniaControl->getManialinkManager()->displayWidget($maniaLink, $player, self::WIDGET_NAME); $this->maniaControl->getManialinkManager()->displayWidget($maniaLink, $player, self::WIDGET_NAME);
} }

View File

@ -993,7 +993,6 @@ class MapManager implements CallbackListener, CommunicationListener, UsageInform
}); });
} }
/** /**
* Searches the ManiaControl maps database * Searches the ManiaControl maps database
* *
@ -1009,6 +1008,7 @@ class MapManager implements CallbackListener, CommunicationListener, UsageInform
} }
} }
return $result; return $result;
} }