Refactor module update logic in onModuleUpdate function

This commit is contained in:
kwaroran
2024-09-09 03:39:38 +09:00
parent bbd80c542c
commit 1f4a843292

View File

@@ -227,9 +227,7 @@ function onModuleUpdate(){
lastChatEnabledModules = [] lastChatEnabledModules = []
} }
const m = getModules([ const m = getModules()
...lastGlobalEnabledModules, ...lastChatEnabledModules
])
let moduleHideIcon = false let moduleHideIcon = false
let backgroundEmbedding = '' let backgroundEmbedding = ''