From 53cc23dc09f7106395afeb002a924ffa07756bd0 Mon Sep 17 00:00:00 2001 From: Jocy Date: Mon, 22 May 2017 17:20:16 +0200 Subject: [PATCH] LocalRecordsPlugin Bugfix --- plugins/MCTeam/LocalRecordsPlugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;