online multiplayer chess game (note server currently down)
Diffstat (limited to 'Square.gd')
-rw-r--r--Square.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Square.gd b/Square.gd
index 60a67d0..53b8ef9 100644
--- a/Square.gd
+++ b/Square.gd
@@ -17,7 +17,7 @@ func _ready() -> void:
circle.visible = false
areacollisionshape.global_position += Globals.grid.piece_size / 2
areacollisionshape.shape.extents = Vector2(rect_size.x / 2, rect_size.y / 2)
- algebraic_string = Utils.calculate_algebraic_position(real_position)
+ algebraic_string = Utils.to_algebraic(real_position)
func _on_Squarea_input_event(_viewport: Node, _event: InputEvent, _shape_idx: int) -> void: