From c0c48ddfa6991b7c7141dd3bfedf706dda760615 Mon Sep 17 00:00:00 2001 From: choelzl Date: Thu, 10 Feb 2022 10:46:52 +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 2123eae..306021e 100644 --- a/twitch/chatguessr.js +++ b/twitch/chatguessr.js @@ -146,7 +146,7 @@ }else if(action.equalsIgnoreCase('refresh')){ if(seed.token == undefined) return; var newseed = fetchSeed(seed.token); - if(newseed.player.guesses.length() > seed.player.guesses.length()){ + 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