Skip to content

Commit

Permalink
Fixed move ToString
Browse files Browse the repository at this point in the history
bench: 5609869
  • Loading branch information
liamt19 committed Jul 15, 2024
1 parent 82a3409 commit 95a604c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Logic/Data/Move.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public string ToString(Position position)
}
else
{
bool cap = bb.GetPieceAtIndex(moveTo) != moveTo;
bool cap = bb.GetPieceAtIndex(moveTo) != None;

if (pt == Piece.Pawn)
{
Expand Down

0 comments on commit 95a604c

Please sign in to comment.