[Settings] Make get defaultValue not false
This commit is contained in:
parent
4613182d4d
commit
96da1645b6
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class Settings { // Heavily based on original for compat, but simplified and twe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
get(key, defaultValue = false) {
|
get(key, defaultValue) {
|
||||||
return this.settings[key] ?? defaultValue;
|
return this.settings[key] ?? defaultValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue