Fixed swapping mechanic
This commit is contained in:
1 parent
3e600ac7c9
commit
760cd33c3f
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user