From 22bdb5a62641b633c5eff5a120cafa84f666d46e Mon Sep 17 00:00:00 2001 From: choelzl Date: Wed, 9 Feb 2022 16:59:48 +0100 Subject: [PATCH] WIP --- twitch/chatguessr.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/twitch/chatguessr.js b/twitch/chatguessr.js index d1d3741..e505f83 100644 --- a/twitch/chatguessr.js +++ b/twitch/chatguessr.js @@ -149,15 +149,14 @@ }else if(command.equalsIgnoreCase('cga')){ if(action.equalsIgnoreCase('open')){ isOpen = true; - $.getSetIniDbBoolean('cgstatus', 'isOpen', true); + $.setIniDbBoolean('cgstatus', 'isOpen', true); }else if(action.equalsIgnoreCase('close')){ - isOpen = false; - $.getSetIniDbBoolean('cgstatus', 'isOpen', false) + $.setIniDbBoolean('cgstatus', 'isOpen', false) }else if(action.equalsIgnoreCase('start')){ seed = GameHelper.fetchSeed(args[1]); }else if(action.equalsIgnoreCase('end')){ isOpen = false; - $.getSetIniDbBoolean('cgstatus', 'isOpen', false) + $.setIniDbBoolean('cgstatus', 'isOpen', false) }else if(action.equalsIgnoreCase('refresh')){ var newseed = GameHelper.fetchSeed(args[1]); }else if(action.equalsIgnoreCase('gg')){