From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 16 Nov 2018 00:45:34 +0000 (+0100)
Subject: Forgot to remove game seek on new game
X-Git-Url: https://git.auder.net/js/pieces/%7B%7B%20asset%28%27mixstore/doc/pieces/cn.svg?a=commitdiff_plain;h=0e63cd81bfdbee851aa893de1ac6c29c047ad3df;p=vchess.git

Forgot to remove game seek on new game
---

diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js
index 2a5b5709..34b3633a 100644
--- a/public/javascripts/components/game.js
+++ b/public/javascripts/components/game.js
@@ -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
 			{