diff --git a/plugins/MCTeam/LocalRecordsPlugin.php b/plugins/MCTeam/LocalRecordsPlugin.php index 0763e255..3d31ff7c 100644 --- a/plugins/MCTeam/LocalRecordsPlugin.php +++ b/plugins/MCTeam/LocalRecordsPlugin.php @@ -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;