Refactor globalApi.ts to import moduleUpdate function for saving database
This commit is contained in:
@@ -399,7 +399,7 @@ let lastGlobalEnabledModules: string[] = []
|
||||
let lastChatEnabledModules: string[] = []
|
||||
let characterHideIcon = false
|
||||
|
||||
function onModuleUpdate(){
|
||||
export function moduleUpdate(){
|
||||
if(!Array.isArray(lastGlobalEnabledModules)){
|
||||
lastGlobalEnabledModules = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user