online multiplayer chess game (note server currently down)
Diffstat (limited to 'SanParse/Move.gd')
-rw-r--r--SanParse/Move.gd6
1 files changed, 1 insertions, 5 deletions
diff --git a/SanParse/Move.gd b/SanParse/Move.gd
index f6e9ca1..1cb3299 100644
--- a/SanParse/Move.gd
+++ b/SanParse/Move.gd
@@ -109,11 +109,7 @@ func long_helper(vec: Vector2, attack: bool, move: bool, touch: Vector2):
func long_helper_helper(spot, touch, attack, move):
- return (
- Utils.spotispiece(piece, spot)
- and spot.white == Globals.turn
- and spot.can_touch(touch, attack, move)
- )
+ return Utils.spotispiece(piece, spot) and spot.white == Globals.turn and spot.can_touch(touch, attack, move)
class MoveKind: