Some fixes. TODO: game.mode must be analyze when score is not '*' ==> simplify Board...
[vchess.git] / client / src / components / Board.vue
index 2783381..f97a2c5 100644 (file)
@@ -157,7 +157,7 @@ export default {
         );
       })
     );
-    const playingColor = userColor || "w"; //default for an observer
+    const playingColor = this.userColor || "w"; //default for an observer
     let elementArray = [choices, gameDiv];
     if (!!this.vr.reserve)
     {