빌드 오류 수정
This commit is contained in:
parent
a76dfe459b
commit
ba7850d241
@ -110,7 +110,7 @@ export function makeMove(board: (ChessPiece | null)[][], from: Position, to: Pos
|
||||
newBoard[from.row][rookCol] = null
|
||||
|
||||
if (newBoard[from.row][newRookCol]) {
|
||||
newBoard[from.row][newRookCol].hasMoved = true
|
||||
newBoard[from.row][newRookCol]!.hasMoved = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user