Forgot to remove game seek on new game
authorBenjamin Auder <benjamin.auder@somewhere>
Fri, 16 Nov 2018 00:45:34 +0000 (01:45 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Fri, 16 Nov 2018 00:45:34 +0000 (01:45 +0100)
public/javascripts/components/game.js

index 2a5b570..34b3633 100644 (file)
@@ -433,6 +433,7 @@ Vue.component('my-game', {
                                this.oppid = oppId;
                                this.oppConnected = true;
                                this.mycolor = color;
+                               delete localStorage["newgame"]; //in case of
                        }
                        else //against computer
                        {