Browse Source

Minor cleanup

master
Ryan Reed 1 year ago
parent
commit
41cc8ea214
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      world.gd

+ 3
- 2
world.gd View File

@ -159,11 +159,12 @@ func process_generation() -> void:
## Toggle Pause UI and Start/Stop Generation Timer ## Toggle Pause UI and Start/Stop Generation Timer
func toggle_pause() -> void: func toggle_pause() -> void:
if is_paused: generation_timer.start()
else: generation_timer.stop()
is_paused = !is_paused is_paused = !is_paused
background_ui.visible = is_paused background_ui.visible = is_paused
if is_paused: generation_timer.start()
else: generation_timer.stop()
## Create the cell using the rendering server ## Create the cell using the rendering server
## This is only performed on initial world generation ## This is only performed on initial world generation


Loading…
Cancel
Save