renamed+changed methods to better reflect functionality

This commit is contained in:
Steffen Schröder
2014-06-17 23:56:31 +02:00
parent c59b5ac9cd
commit dab0db49aa
2 changed files with 28 additions and 17 deletions

View File

@ -131,7 +131,7 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
}
// search for matching maps
$this->maniaControl->mapManager->mxManager->getMapsAsync(function (array $maps) use (&$player) {
$this->maniaControl->mapManager->mxManager->fetchMapsAsync(function (array $maps) use (&$player) {
if (!$maps) {
$this->maniaControl->chat->sendError('No maps found, or MX is down!', $player->login);
return;