fix spam requete

front
Gwenael PLANCHON 1 year ago
parent f360ff81ab
commit 2df3aa64be

@ -77,6 +77,7 @@ export default {
this.DEBUG_obtenirSalleAttente().then(response=>{ this.DEBUG_obtenirSalleAttente().then(response=>{
this.partieDemarree=response.partieDemarree this.partieDemarree=response.partieDemarree
this.joueurs=response.joueurs this.joueurs=response.joueurs
this.tempsLimite=response.tempsLimite
if(this.partieDemarree){ if(this.partieDemarree){
window.setTimeout(this.obtenirQuestion,(this.tempsLimite+100)-Date.now()) window.setTimeout(this.obtenirQuestion,(this.tempsLimite+100)-Date.now())
} else { } else {

Loading…
Cancel
Save