online multiplayer chess game (note server currently down)
Diffstat (limited to 'pieces/King.gd')
-rw-r--r--pieces/King.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/pieces/King.gd b/pieces/King.gd
index 1bd4487..c039f5b 100644
--- a/pieces/King.gd
+++ b/pieces/King.gd
@@ -55,7 +55,7 @@ func _ready():
func can_move(): # checks if you can legally move
castle_check = false
- var can = can_move()
+ var can = .can_move()
castle_check = true
return can