options: make sure nonLauncher options are kept in store and not save in config files
This commit is contained in:
parent
295ca34416
commit
2b529bc19d
2 changed files with 4 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class Settings {
|
|||
write(tmp) {
|
||||
|
||||
for (var i in this.options) {
|
||||
if (this.options[i] === '') {
|
||||
if (this.options[i] === '' || !this.names.includes(i)) {
|
||||
delete this.options[i]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue