fix variable name

This commit is contained in:
Beu 2025-03-15 12:31:25 +01:00
parent b2fbbb1f98
commit 30474b32e7

View File

@ -491,15 +491,15 @@ class MatchManagerMultipleConfigManager implements ManialinkPageAnswerListener,
$index++; $index++;
} }
//Search for Map-Name // Save config button
$mapNameButton = $this->maniaControl->getManialinkManager()->getElementBuilder()->buildRoundTextButton( $saveConfigButton = $this->maniaControl->getManialinkManager()->getElementBuilder()->buildRoundTextButton(
'Save current config', 'Save current config',
35, 35,
5, 5,
self::ML_ACTION_SAVE_CONFIG_PAGE self::ML_ACTION_SAVE_CONFIG_PAGE
); );
$frame->addChild($mapNameButton); $frame->addChild($saveConfigButton);
$mapNameButton->setPosition(-$width / 2 + 110, -$height / 2 + 6); $saveConfigButton->setPosition(-$width / 2 + 110, -$height / 2 + 6);
// Render and display xml // Render and display xml
$this->maniaControl->getManialinkManager()->displayWidget($maniaLink, $player, self::ML_ID); $this->maniaControl->getManialinkManager()->displayWidget($maniaLink, $player, self::ML_ID);