From 8899888e08a54dd3014693bc239f4cec7ddc26d7 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Tue, 13 Apr 2021 11:05:25 +0200 Subject: [PATCH] Typo --- client/src/views/Game.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.44.0