Browse Source

Correcting type hint warning

pull/1/head
Ryan Reed 1 month ago
parent
commit
c841dc68a8
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      scenes/world/world.gd

+ 1
- 2
scenes/world/world.gd View File

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


Loading…
Cancel
Save