WIP
This commit is contained in:
parent
c0c48ddfa6
commit
96cb4d077c
@ -107,8 +107,8 @@
|
||||
score:score,
|
||||
streak: 0,
|
||||
});
|
||||
guesses.round = seed.round - 1;
|
||||
sendData('guesses',JSON.stringify(guesses));
|
||||
|
||||
}
|
||||
|
||||
function sendData(tpe, data) {
|
||||
@ -147,8 +147,7 @@
|
||||
if(seed.token == undefined) return;
|
||||
var newseed = fetchSeed(seed.token);
|
||||
if(newseed.round > seed.round){
|
||||
$.setIniDbBoolean('chatguessr', 'isOpen',false)
|
||||
//NEW ROUND /Score
|
||||
$.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);
|
||||
}else{
|
||||
@ -160,7 +159,6 @@
|
||||
}
|
||||
}
|
||||
seed = newseed;
|
||||
guesses.round = seed.round - 1;
|
||||
}else if(action.equalsIgnoreCase('gg')){
|
||||
sendData('guesses',JSON.stringify(guesses));
|
||||
}else if(action.equalsIgnoreCase('fg')){
|
||||
|
Loading…
x
Reference in New Issue
Block a user