From: Benjamin Auder Date: Tue, 13 Apr 2021 09:05:25 +0000 (+0200) Subject: Typo X-Git-Url: https://git.auder.net/images/assets/doc/html/css/current/git-favicon.png?a=commitdiff_plain;h=8899888e08a54dd3014693bc239f4cec7ddc26d7;p=vchess.git Typo --- diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index bbc6484a..ac0a41ec 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -419,7 +419,7 @@ export default { this.conn = new WebSocket(this.connexionString); this.conn.addEventListener("message", this.socketMessageListener); const oppSid = this.getOppsid(); - if (!!oppSid) this.requestLaststate(oppSid); //in case of + if (!!oppSid) this.requestLastate(oppSid); //in case of } }, 1000 @@ -697,7 +697,7 @@ export default { this.game.type == "live" && this.game.players.some(p => p.sid == user.sid) ) { - this.requestLaststate(user.sid); + this.requestLastate(user.sid); } break; }