From 13271f62e1192bf51f89a22bfd5400097388d4b5 Mon Sep 17 00:00:00 2001 From: choelzl Date: Mon, 14 Feb 2022 15:30:43 +0100 Subject: [PATCH] WIP --- twitch/chatguessr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitch/chatguessr.js b/twitch/chatguessr.js index 6128fe9..746c7ca 100644 --- a/twitch/chatguessr.js +++ b/twitch/chatguessr.js @@ -149,7 +149,7 @@ }else if(action.equalsIgnoreCase('refresh')){ if(seed.token == undefined) return; var newseed = fetchSeed(seed.token); - if(newseed.player.guesses > seed.round){ + if(newseed.round > seed.round){ $.setIniDbBoolean('chatguessr', 'isOpen',false) //NEW ROUND /Score var gp = newseed.player.guesses[seed.round - 1].lat+","+newseed.player.guesses[seed.round - 1].lng addGuess($.channelName,gp);