WIP
This commit is contained in:
parent
ef373eb88e
commit
05062c5dae
@ -92,7 +92,7 @@
|
|||||||
|
|
||||||
function addGuess(user,position) {
|
function addGuess(user,position) {
|
||||||
if(seed.round == undefined) return;
|
if(seed.round == undefined) return;
|
||||||
var current_round = ""+seed.round;
|
var current_round = ""+(seed.round-1);
|
||||||
if(guesses[current_round]==undefined) guesses[current_round] = []
|
if(guesses[current_round]==undefined) guesses[current_round] = []
|
||||||
if(guesses[current_round].some((v)=>v.user==user)) return;
|
if(guesses[current_round].some((v)=>v.user==user)) return;
|
||||||
if(!isCoordinates(position)) return;
|
if(!isCoordinates(position)) return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user