소스 검색

:tada: Make the quit button actually quit the game

DricomDragon 1 년 전
부모
커밋
0e56f9b036
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      godot/component/ui/title/title_screen.gd

+ 1 - 1
godot/component/ui/title/title_screen.gd

@@ -11,4 +11,4 @@ func _on_start_button_pressed():
 
 
 func _on_quit_button_pressed():
-	print("quit")
+	get_tree().quit()