diff --git a/melodactyl/content/config.js b/melodactyl/content/config.js index 64925ad2..15a6fab6 100644 --- a/melodactyl/content/config.js +++ b/melodactyl/content/config.js @@ -282,7 +282,7 @@ const Config = Module("config", ConfigBase, { setter: function (value) { const ioService = services.get("io"); ioService.offline = !value; - options.setPref("browser.offline", ioService.offline); + prefs.set("browser.offline", ioService.offline); return value; }, getter: function () !services.get("io").offline