implemented new setting method
This commit is contained in:
1 parent
1fa1d7ee7d
commit
ef9c141786
33 files changed
+606
-551
No files matched your search
@@ -149,7 +149,7 @@ class ScriptSettings implements ConfiguratorMenu, CallbackListener {
|
||||
* @param Map $map
|
||||
*/
|
||||
public function onBeginMap(Map $map) {
|
||||
if ($this->maniaControl->settingManager->getSetting($this, self::SETTING_LOAD_DEFAULT_SETTINGS_MAP_BEGIN)) {
|
||||
if ($this->maniaControl->settingManager->getSettingValue($this, self::SETTING_LOAD_DEFAULT_SETTINGS_MAP_BEGIN)) {
|
||||
$this->loadSettingsFromDatabase();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user