Changed the maplist a bit and changed maps limit to avoid crash

This commit is contained in:
Max Klaversma authored and Steffen Schröder committed 2014-05-01 17:35:41 +02:00
1 parent 34d0ad54fa
commit be4d96fa22
2 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -370,7 +370,7 @@ class MapManager implements CallbackListener {
* Updates the full Map list, needed on Init, addMap and on ShuffleMaps
*/
private function updateFullMapList() {
$maps = $this->maniaControl->client->getMapList(1000, 0);
$maps = $this->maniaControl->client->getMapList(150, 0);
$tempList = array();
foreach ($maps as $rpcMap) {
if (array_key_exists($rpcMap->uId, $this->maps)) {