small maplsit fix + try to fix the client crashes
This commit is contained in:
parent
c3580f41f7
commit
20c07a9646
@ -220,6 +220,11 @@ class Client
|
||||
throw new FatalException('deb1 transport error - connection interrupted!' . $contents, FatalException::INTERRUPTED);
|
||||
}
|
||||
$contents .= $newContent;
|
||||
|
||||
if(strlen($contents) < 8){
|
||||
usleep(10);
|
||||
var_dump("deb1 test new");
|
||||
}
|
||||
}
|
||||
|
||||
$array_result = unpack('Vsize/Vhandle', $contents);
|
||||
|
@ -268,7 +268,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
|
||||
// Display Maps
|
||||
$array = array($id => $x + 5, $mxId => $x + 10, Formatter::stripDirtyCodes($map->name) => $x + 20, $map->authorNick => $x + 68);
|
||||
$labels = $this->maniaControl->manialinkManager->labelLine($mapFrame, $array);
|
||||
if ($labels[3]) {
|
||||
if (isset($labels[3])) {
|
||||
$script->addTooltip($labels[3], $descriptionLabel, array(Script::OPTION_TOOLTIP_TEXT => '$<' . $map->name . '$> made by $<' . $map->authorLogin . '$>'));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user