From 2f392585df037cddc0462186ba1df0255016ea97 Mon Sep 17 00:00:00 2001 From: choelzl Date: Thu, 10 Feb 2022 20:31:34 +0100 Subject: [PATCH] WIP --- twitch/chatguessr.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/twitch/chatguessr.js b/twitch/chatguessr.js index a70e61a..e1b8e19 100644 --- a/twitch/chatguessr.js +++ b/twitch/chatguessr.js @@ -137,7 +137,9 @@ $.setIniDbBoolean('cgstatus', 'isOpen', false) }else if(action.equalsIgnoreCase('start')){ 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')){ $.setIniDbBoolean('cgstatus', 'isOpen', false) guesses = {};