Typo
authorBenjamin Auder <benjamin.auder@somewhere>
Tue, 13 Apr 2021 09:05:25 +0000 (11:05 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Tue, 13 Apr 2021 09:05:25 +0000 (11:05 +0200)
client/src/views/Game.vue

index bbc6484..ac0a41e 100644 (file)
@@ -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;
         }