diff options
Diffstat (limited to 'src/engine/moves.js')
-rw-r--r-- | src/engine/moves.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/moves.js b/src/engine/moves.js index 26158a0..694a482 100644 --- a/src/engine/moves.js +++ b/src/engine/moves.js @@ -6,11 +6,11 @@ export function isMoveLegal({ team = "none" }) { if (board.stones[position.y][position.x] != undefined) { - return false + return false } if (!hasLiberties({position: position, team: team})) { - return false + return false } return true |