diff --git a/scenes/conway.gd b/scenes/conway.gd index 5e5a16f..75e2cc2 100644 --- a/scenes/conway.gd +++ b/scenes/conway.gd @@ -106,6 +106,7 @@ func update_generation_ui() -> void: func start_conway() -> void: clear_world() generate_world() + update_previous_generation_hashes() generation = 1 evolution_is_stalled = false @@ -270,8 +271,6 @@ func generate_world() -> void: cell_states[x][y] = is_alive cell_ids[x][y] = create_cell(Vector2(x, y), bool(is_alive)) - update_previous_generation_hashes() - func _on_generation_timer_timeout() -> void: process_generation()