This commit is contained in:
choelzl 2022-02-09 16:59:48 +01:00
parent ebd4777e98
commit 22bdb5a626
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -149,15 +149,14 @@
}else if(command.equalsIgnoreCase('cga')){ }else if(command.equalsIgnoreCase('cga')){
if(action.equalsIgnoreCase('open')){ if(action.equalsIgnoreCase('open')){
isOpen = true; isOpen = true;
$.getSetIniDbBoolean('cgstatus', 'isOpen', true); $.setIniDbBoolean('cgstatus', 'isOpen', true);
}else if(action.equalsIgnoreCase('close')){ }else if(action.equalsIgnoreCase('close')){
isOpen = false; $.setIniDbBoolean('cgstatus', 'isOpen', false)
$.getSetIniDbBoolean('cgstatus', 'isOpen', false)
}else if(action.equalsIgnoreCase('start')){ }else if(action.equalsIgnoreCase('start')){
seed = GameHelper.fetchSeed(args[1]); seed = GameHelper.fetchSeed(args[1]);
}else if(action.equalsIgnoreCase('end')){ }else if(action.equalsIgnoreCase('end')){
isOpen = false; isOpen = false;
$.getSetIniDbBoolean('cgstatus', 'isOpen', false) $.setIniDbBoolean('cgstatus', 'isOpen', false)
}else if(action.equalsIgnoreCase('refresh')){ }else if(action.equalsIgnoreCase('refresh')){
var newseed = GameHelper.fetchSeed(args[1]); var newseed = GameHelper.fetchSeed(args[1]);
}else if(action.equalsIgnoreCase('gg')){ }else if(action.equalsIgnoreCase('gg')){