Show login if no nickname in RecordsList
This commit is contained in:
parent
6429025304
commit
cb0205273b
@ -374,7 +374,8 @@ class LocalRecordsPlugin implements CallbackListener, CommandListener, TimerList
|
|||||||
$lineQuad->setZ(0.001);
|
$lineQuad->setZ(0.001);
|
||||||
}
|
}
|
||||||
|
|
||||||
$array = array($listRecord->rank => $x + 5, $listRecord->nickname => $x + 18, $listRecord->login => $x + 70, Formatter::formatTime($listRecord->time) => $x + 101);
|
if(strlen($listRecord->nickname) < 2) $listRecord->nickname = $listRecord->login;
|
||||||
|
$array = array($listRecord->rank => $x + 5, '$fff'.$listRecord->nickname => $x + 18, $listRecord->login => $x + 70, Formatter::formatTime($listRecord->time) => $x + 101);
|
||||||
$this->maniaControl->manialinkManager->labelLine($recordFrame, $array);
|
$this->maniaControl->manialinkManager->labelLine($recordFrame, $array);
|
||||||
|
|
||||||
$recordFrame->setY($y);
|
$recordFrame->setY($y);
|
||||||
|
Loading…
Reference in New Issue
Block a user