From 41cc8ea2142f9f1938638a96710b290bce27ab39 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Mon, 14 Aug 2023 21:36:05 -0400 Subject: [PATCH] Minor cleanup --- world.gd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/world.gd b/world.gd index deca2d0..054a24d 100644 --- a/world.gd +++ b/world.gd @@ -159,11 +159,12 @@ func process_generation() -> void: ## Toggle Pause UI and Start/Stop Generation Timer func toggle_pause() -> void: - if is_paused: generation_timer.start() - else: generation_timer.stop() is_paused = !is_paused background_ui.visible = is_paused + if is_paused: generation_timer.start() + else: generation_timer.stop() + ## Create the cell using the rendering server ## This is only performed on initial world generation