Added setMatchPoints() to Trackmania OnScoresStructure, Fixed a Maplist search bug
This commit is contained in:
1 parent
4cc523800a
commit
a3d7bdbb8a
2 files changed
+6
-1
No files matched your search
@@ -778,7 +778,11 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
|
||||
$player = $this->maniaControl->getPlayerManager()->getPlayer($login);
|
||||
|
||||
$searchString = $callback[1][3][0]['Value'];
|
||||
$maps = $this->maniaControl->getMapManager()->searchMapsByAuthor($searchString);
|
||||
if ($searchString) {
|
||||
$maps = $this->maniaControl->getMapManager()->searchMapsByAuthor($searchString);
|
||||
} else {
|
||||
$maps = null;
|
||||
}
|
||||
|
||||
$this->showMapList($player, $maps);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user