fix: wrong type

This commit is contained in:
Inha Hwang
2025-04-08 06:02:07 +09:00
parent 31a480643b
commit c21dd9e755

View File

@@ -2235,8 +2235,8 @@ export function getGlobalChatVar(key:string){
return DBState.db.globalChatVariables[key] ?? 'null'
}
export function setGlobalChatVar(key:string, value:bool){ // TODO: check globalChatVariables possible type
DBState.db.globalChatVariables[key] = value
export function setGlobalChatVar(key:string, value:string){
DBState.db.globalChatVariables[key] = value // String to String Map(dictionary)
}
export function setChatVar(key:string, value:string){