From eef006cda37c916683917859b372f2ad64395e9e Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 25 Mar 2024 21:11:50 +0100 Subject: [PATCH] Update to 54d81da32fff0d1c215a598a61fc33167bf152e0 --- src/Misc.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Misc.gd b/src/Misc.gd index 36b1a51..a7e9fbc 100644 --- a/src/Misc.gd +++ b/src/Misc.gd @@ -80,5 +80,5 @@ func stringarray_to_array(array: Array[String]) -> Array: return output -func center_object(parent_size: Vector2, child_size: Vector2) -> Vector2: +func get_center(parent_size: Vector2, child_size: Vector2) -> Vector2: return Vector2(parent_size.x/2-child_size.x/2, parent_size.y/2-child_size.y/2)