Refactor globalApi.ts to import moduleUpdate function for saving database

This commit is contained in:
kwaroran
2024-10-26 21:22:07 +09:00
parent da907f4fc2
commit deb4f8d5d9
2 changed files with 3 additions and 1 deletions

View File

@@ -399,7 +399,7 @@ let lastGlobalEnabledModules: string[] = []
let lastChatEnabledModules: string[] = []
let characterHideIcon = false
function onModuleUpdate(){
export function moduleUpdate(){
if(!Array.isArray(lastGlobalEnabledModules)){
lastGlobalEnabledModules = []
}