This commit is contained in:
choelzl 2022-02-14 15:30:43 +01:00
parent 4307d576a5
commit 13271f62e1
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -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);