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):