From c841dc68a8a9ca062e5e5141056ea1440d70d192 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Sat, 8 Mar 2025 16:05:09 -0500 Subject: [PATCH] Correcting type hint warning --- scenes/world/world.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scenes/world/world.gd b/scenes/world/world.gd index 0a8c567..c93183b 100644 --- a/scenes/world/world.gd +++ b/scenes/world/world.gd @@ -29,14 +29,13 @@ func _create_dropped_block(id: String, block_position: Vector3) -> void: func _create_test_blocks() -> void: var test_blocks: Array = ["001", "002", "003", "004"] - for index in range(0, test_blocks.size()): + for index: int in range(0, test_blocks.size()): _create_block("00" + str(index + 1), Vector3(index, 1, -3)) _create_block("00" + str(index + 1), Vector3(index, 2, -4)) _create_block("00" + str(index + 1), Vector3(index, 3, -5)) _create_dropped_block("00" + str(index + 1), Vector3(index, 2, -3)) - func _initialize_ground() -> void: for x: int in range(-10, 11): for z: int in range(-10, 11):