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 = []
}
const m = getModules([
...lastGlobalEnabledModules, ...lastChatEnabledModules
])
const m = getModules()
let moduleHideIcon = false
let backgroundEmbedding = ''