workaround mx bug (tgyoshi, will fix it on mx the next 1-2 days)
This commit is contained in:
parent
2e6fb3a870
commit
deeb05e681
@ -36,10 +36,10 @@ class MXMapInfo {
|
|||||||
|
|
||||||
if ($this->prefix == 'tm' || !property_exists($mx, "MapID")) {
|
if ($this->prefix == 'tm' || !property_exists($mx, "MapID")) {
|
||||||
$this->id = $mx->TrackID;
|
$this->id = $mx->TrackID;
|
||||||
$this->uid = $mx->TrackUID;
|
$this->uid = isset($mx->TrackUID) ? $mx->TrackUID : '';
|
||||||
} else {
|
} else {
|
||||||
$this->id = $mx->MapID;
|
$this->id = $mx->MapID;
|
||||||
$this->uid = $mx->MapUID;
|
$this->uid = isset($mx->MapUID) ? $mx->MapUID : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($mx->GbxMapName) || $mx->GbxMapName == '?') {
|
if (!isset($mx->GbxMapName) || $mx->GbxMapName == '?') {
|
||||||
|
Loading…
Reference in New Issue
Block a user