LocalRecordsPlugin Bugfix

This commit is contained in:
Jocy 2017-05-22 17:20:16 +02:00
parent 55ff687f3a
commit 53cc23dc09

View File

@ -325,9 +325,9 @@ class LocalRecordsPlugin implements ManialinkPageAnswerListener, CallbackListene
$listFrame->addChild($quad);
$quad->setY($y + $lineHeight / 2);
$frame = $this->recordWidget->generateRecordLineFrame($record, $player);
$listFrame->addChild($frame);
$frame->setY($y);
$recordFrame = $this->recordWidget->generateRecordLineFrame($record, $player);
$listFrame->addChild($recordFrame);
$recordFrame->setY($y);
} else {
$playersWithoutRecord[] = $player;