restarter.gd 339 B

123456789101112131415
  1. extends CanvasLayer
  2. func _on_Button_button_down():
  3. get_tree().paused = false
  4. Powerups.dict = Powerups.dictbkp
  5. get_tree().reload_current_scene()
  6. pass # Replace with function body.
  7. func _on_bacteria_dieproxy():
  8. $MarginContainer.show()
  9. Powerups.dict = Powerups.dictbkp
  10. get_tree().paused = true
  11. pass # Replace with function body.