Browse Source

Fixing toggle_pause timer

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

+ 3
- 2
world.gd View File

@ -162,8 +162,9 @@ func toggle_pause() -> void:
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()
if is_paused: generation_timer.stop()
else: generation_timer.start()
## Create the cell using the rendering server ## Create the cell using the rendering server


Loading…
Cancel
Save