WIP
This commit is contained in:
parent
2ae50baeff
commit
2597a9ae30
@ -153,8 +153,11 @@
|
||||
$.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{
|
||||
if(newseed.state=="finished"){
|
||||
}else if(newseed.state=="finished" && newseed.player.guesses.length > seed.player.guesses.length){
|
||||
$.setIniDbBoolean('chatguessr', 'isOpen',false)
|
||||
var gp = newseed.player.guesses[newseed.round - 1].lat+","+newseed.player.guesses[newseed.round - 1].lng
|
||||
addGuess($.channelName,gp);
|
||||
}else if(newseed.state=="finished"){
|
||||
$.setIniDbBoolean('chatguessr', 'isOpen',false) //FINISHED
|
||||
//Compute total scores + give reward
|
||||
seed = newseed;
|
||||
@ -164,7 +167,6 @@
|
||||
guesses.round = seed.round - 1;
|
||||
sendGuessData();
|
||||
}
|
||||
}
|
||||
seed = newseed;
|
||||
}else if(action.equalsIgnoreCase('gg')){
|
||||
sendGuessData();
|
||||
|
Loading…
x
Reference in New Issue
Block a user