- if (this.game.fenStart.indexOf(" b ") >= 0 ||
- (this.moves.length > 0 && this.moves[0].color == "b"))
+ if ((this.moves.length > 0 && this.moves[0].color == "b") ||
+ (this.moves.length == 0 && this.vr_tmp.turn == "b"))
{
// 'end' is required for Board component to check lastMove for e.p.
this.moves.unshift({color: "w", notation: "...", end: {x:-1,y:-1}});
{
// 'end' is required for Board component to check lastMove for e.p.
this.moves.unshift({color: "w", notation: "...", end: {x:-1,y:-1}});