diff --git a/world.gd b/world.gd index 2456b03..e818d71 100644 --- a/world.gd +++ b/world.gd @@ -64,7 +64,10 @@ func _input(event: InputEvent) -> void: # ## Update the Gneration UI with the current settings 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_y.text = str(world_size.y) gneration_cell_size_x.text = str(cell_size.x)