aboutsummaryrefslogtreecommitdiff
path: root/features/settings/settingThings
diff options
context:
space:
mode:
Diffstat (limited to 'features/settings/settingThings')
-rw-r--r--features/settings/settingThings/settingBase.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/features/settings/settingThings/settingBase.js b/features/settings/settingThings/settingBase.js
index ae924ca..9e3abb1 100644
--- a/features/settings/settingThings/settingBase.js
+++ b/features/settings/settingThings/settingBase.js
@@ -17,6 +17,8 @@ class SettingBase {
this.module = module
this.moduleId = module.getId()
+ this.contributorVal = undefined
+
this.val = defaultVal;
this.guiObject = new BoxWithTextAndDescription().setDesc("§0" + this.description.replace(/\n/g, "\n§0")).setText("§0" + this.name).setLocation(0, 0, 1, 0.175)
@@ -142,6 +144,7 @@ class SettingBase {
}
contributor(name) {
+ this.contributorVal = name
//TODO: this entire function
return this
}