test-client-godot/scenes/GUI/login/quit_button.gd

4 lines
70 B
GDScript

extends Button
func _on_quit_button_pressed():
get_tree().quit()