Browse Source

Fixing Spelling

pull/1/head
Ryan Reed 1 year ago
parent
commit
e1b3c525e4
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      world.gd

+ 4
- 4
world.gd View File

@ -23,7 +23,7 @@ enum CellStates {
@onready var generation_seed: LineEdit = $UI/WorldGeneration/VBoxContainer/Seed/Input
@onready var generation_world_size_x: LineEdit = $UI/WorldGeneration/VBoxContainer/WorldSize/Input_x
@onready var generation_world_size_y: LineEdit = $UI/WorldGeneration/VBoxContainer/WorldSize/Input_y
@onready var gneration_cell_size_x: LineEdit = $UI/WorldGeneration/VBoxContainer/CellSize/Input_x
@onready var generation_cell_size_x: LineEdit = $UI/WorldGeneration/VBoxContainer/CellSize/Input_x
@onready var gneration_cell_size_y: LineEdit = $UI/WorldGeneration/VBoxContainer/CellSize/Input_y
## Other
@ -70,8 +70,8 @@ func update_generation_ui() -> void:
generation_seed.text = str(randi())
generation_world_size_x.text = str(world_size.x)
generation_world_size_y.text = str(world_size.y)
gneration_cell_size_x.text = str(cell_size.x)
gneration_cell_size_x.text = str(cell_size.y)
generation_cell_size_x.text = str(cell_size.x)
generation_cell_size_x.text = str(cell_size.y)
#
@ -205,7 +205,7 @@ func _on_run_button_pressed() -> void:
else:
world_seed = int(generation_seed.text)
world_size = Vector2(int(generation_world_size_x.text), int(generation_world_size_y.text))
cell_size = Vector2(int(gneration_cell_size_x.text), int(gneration_cell_size_x.text))
cell_size = Vector2(int(generation_cell_size_x.text), int(generation_cell_size_x.text))
debug_ui.visible = true
generation_ui.visible = false


Loading…
Cancel
Save