[Settings] Make get defaultValue not false

This commit is contained in:
Ducko 2022-01-19 18:14:56 +00:00
parent 4613182d4d
commit 96da1645b6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}