This commit is contained in:
choelzl 2022-02-10 20:31:34 +01:00
parent 68cd5729da
commit 2f392585df
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -137,7 +137,9 @@
$.setIniDbBoolean('cgstatus', 'isOpen', false) $.setIniDbBoolean('cgstatus', 'isOpen', false)
}else if(action.equalsIgnoreCase('start')){ }else if(action.equalsIgnoreCase('start')){
seed = fetchSeed(args[1]); seed = fetchSeed(args[1]);
scale = calculateScale(seed.bounds) scale = calculateScale(seed.bounds);
guesses.round = seed.round - 1;
sendData('guesses',JSON.stringify(guesses));
}else if(action.equalsIgnoreCase('end')){ }else if(action.equalsIgnoreCase('end')){
$.setIniDbBoolean('cgstatus', 'isOpen', false) $.setIniDbBoolean('cgstatus', 'isOpen', false)
guesses = {}; guesses = {};