small fix
This commit is contained in:
parent
a743356be3
commit
8294ff5922
@ -260,7 +260,6 @@ class ScriptSettings implements ConfiguratorMenu, CallbackListener {
|
|||||||
$descriptionLabel->setSize($width * 0.7, $settingHeight);
|
$descriptionLabel->setSize($width * 0.7, $settingHeight);
|
||||||
$descriptionLabel->setTextSize($labelTextSize);
|
$descriptionLabel->setTextSize($labelTextSize);
|
||||||
$descriptionLabel->setTranslate(true);
|
$descriptionLabel->setTranslate(true);
|
||||||
// $descriptionLabel->setTextPrefix('Desc: ');
|
|
||||||
$descriptionLabel->setText($scriptParam['Desc']);
|
$descriptionLabel->setText($scriptParam['Desc']);
|
||||||
$script->addTooltip($nameLabel, $descriptionLabel);
|
$script->addTooltip($nameLabel, $descriptionLabel);
|
||||||
|
|
||||||
@ -333,10 +332,11 @@ class ScriptSettings implements ConfiguratorMenu, CallbackListener {
|
|||||||
$login = $callback[1][1];
|
$login = $callback[1][1];
|
||||||
$player = $this->maniaControl->playerManager->getPlayer($login);
|
$player = $this->maniaControl->playerManager->getPlayer($login);
|
||||||
|
|
||||||
// Save all Changes
|
|
||||||
$this->saveConfigData($callback[1], $player);
|
|
||||||
// Toggle the Boolean Setting
|
// Toggle the Boolean Setting
|
||||||
$this->toggleBooleanSetting($setting, $player);
|
$this->toggleBooleanSetting($setting, $player);
|
||||||
|
|
||||||
|
// Save all Changes
|
||||||
|
$this->saveConfigData($callback[1], $player);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user