mx fix
This commit is contained in:
parent
7b733be0bc
commit
b462fe4817
@ -232,7 +232,7 @@ class ManiaExchangeManager {
|
|||||||
|
|
||||||
$maps = array();
|
$maps = array();
|
||||||
foreach($mxMapList as $map) {
|
foreach($mxMapList as $map) {
|
||||||
if (!empty($map)) {
|
if ($map != null) {
|
||||||
array_push($maps, new MXMapInfo($titlePrefix, $map));
|
array_push($maps, new MXMapInfo($titlePrefix, $map));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -290,7 +290,7 @@ class ManiaExchangeManager {
|
|||||||
if ($e->getMessage() != 'Not in script mode.') {
|
if ($e->getMessage() != 'Not in script mode.') {
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
//dont append map tpye
|
//dont append map type
|
||||||
}
|
}
|
||||||
|
|
||||||
$fileFunc = function ($mapInfo, $error) use (&$function, $titlePrefix) {
|
$fileFunc = function ($mapInfo, $error) use (&$function, $titlePrefix) {
|
||||||
|
Loading…
Reference in New Issue
Block a user