|
@ -64,7 +64,10 @@ func _input(event: InputEvent) -> void: |
|
|
# |
|
|
# |
|
|
## Update the Gneration UI with the current settings |
|
|
## Update the Gneration UI with the current settings |
|
|
func update_generation_ui() -> void: |
|
|
func update_generation_ui() -> void: |
|
|
generation_seed.text = str(world_seed) |
|
|
|
|
|
|
|
|
if world_seed: |
|
|
|
|
|
generation_seed.text = str(world_seed) |
|
|
|
|
|
else: |
|
|
|
|
|
generation_seed.text = str(randi()) |
|
|
generation_world_size_x.text = str(world_size.x) |
|
|
generation_world_size_x.text = str(world_size.x) |
|
|
generation_world_size_y.text = str(world_size.y) |
|
|
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.x) |
|
|