From ad12c996a30ef60f2e8ebdd587bd711f48523701 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Thu, 17 Aug 2023 21:55:16 -0400 Subject: [PATCH] Minor cleanup --- scenes/conway.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()