Avoid having `get_tree()` returning a null object.
@@ -20,8 +20,8 @@ func _on_resume_button_pressed():
func _on_title_button_pressed():
- get_tree().reload_current_scene()
resume()
+ get_tree().reload_current_scene()
func _on_quit_button_pressed():