diff --git a/world.gd b/world.gd index f8cb642..ca469ab 100644 --- a/world.gd +++ b/world.gd @@ -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