Fixed swapping mechanic

This commit is contained in:
Lucas Winther committed 2021-08-05 18:21:10 +02:00
1 parent 3e600ac7c9
commit 760cd33c3f
1 file changed
+1 -1
+1 -1
View File
@@ -186,7 +186,7 @@ export default class ChessSwap extends Component<IChessSwapProps, IChessSwapStat
turnsToNextSwap: this.props.turnsToSwap,
currentPlayerColor: newColor,
currentOrientation: newColor,
currentlyMyTurn: newColor === Color.black
currentlyMyTurn: newColor !== Color.black
})
}
}