Update SB.js

This commit is contained in:
Official Noob
2020-01-01 12:27:59 +00:00
committed by GitHub
parent 9dd954e7d8
commit 477ae3eb2c

2
SB.js
View File

@@ -51,7 +51,7 @@ function resetConfig() {
function addDefaults() {
Object.keys(SB.defaults).forEach(key => {
if(!SB.localconfig.hasOwnProperty(key)) {
SB.localconfig = SB.defaults[key];
SB.localconfig[key] = SB.defaults[key];
}
});
};