diff --git a/world.gd b/world.gd index ca469ab..0a84b76 100644 --- a/world.gd +++ b/world.gd @@ -24,7 +24,7 @@ enum CellStates { @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 generation_cell_size_x: LineEdit = $UI/WorldGeneration/VBoxContainer/CellSize/Input_x -@onready var gneration_cell_size_y: LineEdit = $UI/WorldGeneration/VBoxContainer/CellSize/Input_y +@onready var generation_cell_size_y: LineEdit = $UI/WorldGeneration/VBoxContainer/CellSize/Input_y ## Other @onready var camera: Camera2D = $Camera2D @@ -62,7 +62,7 @@ func _input(event: InputEvent) -> void: # # UI # -## Update the Gneration UI with the current settings +## Update the Generation UI with the current settings func update_generation_ui() -> void: if world_seed: generation_seed.text = str(world_seed) @@ -71,7 +71,7 @@ func update_generation_ui() -> void: generation_world_size_x.text = str(world_size.x) generation_world_size_y.text = str(world_size.y) generation_cell_size_x.text = str(cell_size.x) - generation_cell_size_x.text = str(cell_size.y) + generation_cell_size_y.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(generation_cell_size_x.text), int(generation_cell_size_x.text)) + cell_size = Vector2(int(generation_cell_size_x.text), int(generation_cell_size_y.text)) debug_ui.visible = true generation_ui.visible = false