diff --git a/project/plugins.js b/project/plugins.js index 63c7a55..d9697f6 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -243,8 +243,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = }); core.registerEvent("setcgs", function (data) { - if (!data.img) { core.setLocalStorage('cgs', []) } else { - let a = core.getLocalStorage('cgs') ?? [] + if (!data.img) { core.setLocalStorage('cgs', ["theme.opus"]) } else { + let a = core.getLocalStorage('cgs') ?? ["theme.opus"] if (!a.includes(data.img)) a.push(data.img) core.setLocalStorage('cgs', a) }