MemR/game/menu/Exit.gd

5 lines
60 B
GDScript

extends Button
func _pressed() -> void:
get_tree().quit()