Skip to content

Commit

Permalink
Stop frog/shark spawn timers on intermission panel reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Poobslag committed Sep 7, 2021
1 parent 13ab902 commit 6040d2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions project/src/main/intermission-panel.gd
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ func restart(game_difficulty: int) -> void:


func reset() -> void:
$SharkSpawnTimer.stop()
$FrogSpawnTimer.stop()
_bye_button.visible = false
for child in $Creatures.get_children():
child.queue_free()
Expand Down

0 comments on commit 6040d2f

Please sign in to comment.