From 30474b32e7f5a683c157bdcb0eac84e2fac19cea Mon Sep 17 00:00:00 2001 From: beu Date: Sat, 15 Mar 2025 12:31:25 +0100 Subject: [PATCH] fix variable name --- MatchManagerSuite/MatchManagerMultipleConfigManager.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MatchManagerSuite/MatchManagerMultipleConfigManager.php b/MatchManagerSuite/MatchManagerMultipleConfigManager.php index aedeef0..b09715a 100644 --- a/MatchManagerSuite/MatchManagerMultipleConfigManager.php +++ b/MatchManagerSuite/MatchManagerMultipleConfigManager.php @@ -491,15 +491,15 @@ class MatchManagerMultipleConfigManager implements ManialinkPageAnswerListener, $index++; } - //Search for Map-Name - $mapNameButton = $this->maniaControl->getManialinkManager()->getElementBuilder()->buildRoundTextButton( + // Save config button + $saveConfigButton = $this->maniaControl->getManialinkManager()->getElementBuilder()->buildRoundTextButton( 'Save current config', 35, 5, self::ML_ACTION_SAVE_CONFIG_PAGE ); - $frame->addChild($mapNameButton); - $mapNameButton->setPosition(-$width / 2 + 110, -$height / 2 + 6); + $frame->addChild($saveConfigButton); + $saveConfigButton->setPosition(-$width / 2 + 110, -$height / 2 + 6); // Render and display xml $this->maniaControl->getManialinkManager()->displayWidget($maniaLink, $player, self::ML_ID);