From 1fcaa356f499ed76957d650291706a65024145e3 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sun, 18 Nov 2018 12:32:56 +0100
Subject: [PATCH] Stop highlighting king when new game starts

---
 public/javascripts/components/game.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js
index 499e473a..9e00d12b 100644
--- a/public/javascripts/components/game.js
+++ b/public/javascripts/components/game.js
@@ -480,6 +480,7 @@ Vue.component('my-game', {
 			}
 			this.vr = new VariantRules(fen, moves || []);
 			this.mode = mode;
+			this.incheck = []; //in case of
 			this.fenStart = continuation
 				? localStorage.getItem("fenStart")
 				: fen.split(" ")[0]; //Only the position matters
-- 
2.44.0