online multiplayer chess game (note server currently down)
Diffstat (limited to 'Piece.gd')
-rw-r--r--Piece.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/Piece.gd b/Piece.gd
index ce53070..b132395 100644
--- a/Piece.gd
+++ b/Piece.gd
@@ -16,7 +16,8 @@ func clicked():
func spot(position):
colorrect.hide()
- print("spot ", position)
+ if position:
+ print("spot ", position)
func _ready():
colorrect.rect_size = Globals.piece_size \ No newline at end of file